@wearableintelligence/parsable-cli-common
Usage
$ npm install -g @wearableintelligence/parsable-cli-common
$ parsable-cli COMMAND
running command...
$ parsable-cli (-v|--version|version)
@wearableintelligence/parsable-cli-common/0.2.0 linux-x64 node-v14.18.1
$ parsable-cli --help [COMMAND]
USAGE
$ parsable-cli COMMAND
...
Commands
parsable-cli login
Sets a user context via browser for subsequent CLI calls to mothership env and to new microservice env.
USAGE
$ parsable-cli login
OPTIONS
-E, --env=env Name of environment to use (ie. production, staging)
-t, --team=team Team ID or subdomain the request is for
DESCRIPTION
...
Use this command to login to new microservice env and to mothership in the same time.
Important: browser is used during login.
EXAMPLES
parsable-cli login
parsable-cli login -t 'my-team'
parsable-cli login -t '95ecc380-afe9-11e4-9b6c-751b66dd541e'
parsable-cli login -t 'my-team' -E production
See code: src/commands/login.js
parsable-cli login-mothership
Sets a user context for subsequent CLI calls (DEPRECATED)
USAGE
$ parsable-cli login-mothership
OPTIONS
-E, --env=env Name of environment to use (ie. production, staging)
-P, --password=password
-t, --team=team Team ID or subdomain the request is for
-u, --username=username Username or user id
--skip-team Skip team selection
DESCRIPTION
...
Use this command to login only in mothership. Command doesn't login to new microservice environment.
In order to login into mothership along with new microservice environment use "parsable-cli login" command.
EXAMPLES
parsable-cli login-mothership
parsable-cli login-mothership -t 'my-team'
parsable-cli login-mothership -t '95ecc380-afe9-11e4-9b6c-751b66dd541e'
parsable-cli login-mothership -t 'my-team' -u 'user@parsable.com'
parsable-cli login-mothership -u 'user@parsable.com' -P Pass1234 --skip-team
See code: src/commands/login-mothership.js
parsable-cli me
View current environment
USAGE
$ parsable-cli me
DESCRIPTION
...
Use this command to see which environment and team is active
EXAMPLE
parsable-cli me
See code: src/commands/me.js