0.0.1 • Published 4 years ago

@erislandio/masterdata-cli v0.0.1

Weekly downloads
1
License
-
Repository
-
Last release
4 years ago

Masterdata CLI V2 CLI

Description:

Welcome to the masterdata cli, this CLI is only for querying data in the VTEX masterdata, it is not possible to change data and information.

Install

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

Usage: masterdata command options

Options:

 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

starting

  • if you are already registered
masterdata login [email]
  • if you don't have one, just create
masterdata new [email]
  • Adding an account to make queries. You will need appKey and appToken (rest assured it will not be public)
masterdata create [accountName]

prints

  • login

cli

  • whoami

cli