masterdata CLI
npm install @erislandio/masterdata-cliWelcome to the masterdata cli, this CLI is only for querying data in the VTEX masterdata, it is not possible to change data and information.
``SH`
yarn global add @erislandio/masterdata or npm install @erislandio/masterdata -g
`SH
version (v) Output the version number
create Create a new account: masterdata create {accountName}
list (ls) List all registered accounts: masterdata ls
login (l) Sign in to an account, example: masterdata login teste@gmail.com or masterdata login
switch (s) Switch account: masterdata switch [teste]
whoami (w) displays the information of the logged in user
help (h) shows this list of options
`
* if you are already registered
`sh`
masterdata login [email]
* if you don't have one, just create
`sh`
masterdata new [email]
* Adding an account to make queries. You will need appKey and appToken (rest assured it will not be public)
`sh``
masterdata create [accountName]
- login
!cli
- whoami
!cli