1.2.6 • Published 4 years ago

@erislandio/plutom v1.2.6

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Plutom Masterdata CLI CLI

enter image description here

Install

yarn global add @erislandio/plutom or npm install @erislandio/plutom -g

Usage: plutom options

Options:

-V, --version output the version number

-lg, --login Login on application

-u, --use Use an account

-i, --info Show account info

-a, --add Add an account

--logout Logout

-ls, --list Lists created accounts

-rm, --remove Remove an account

-dbs, --databases List databases (acronym)

--all <acronym> Get all data from acronym

-q, --query <query> Get all data from acronym - ex: select firstName from CL

-d, --desc <acronym> List info from table ex: --desc 'CL'

-n, --new Create new user

--banner Show banner

-h, --help display help  for  command

starting

  • if you are already registered

plutom --login
  • if you don't have one, just create

plutom --new
  • Adding an account to make queries. You will need appKey and appToken (rest assured it will not be public)

plutom --add

Query example:

  • all databases
    plutom --dbs
  • select
    plutom -q "select * from CL where email='user@email.com'"
  • select filter
    plutom -q "select firstName, lastName from CL where email='user@email.com'"
  • desc
    plutom --desc CL

Exit

    plutom --logout