@meahana/cli
v2.4.7
Published
Meahana CLI to manage component-groups
Downloads
30
Readme
meahana
=================
meahana example CLI
Usage
$ npm install -g meahana
$ meahana COMMAND
running command...
$ meahana (--version)
meahana/1.0.3 win32-x64 node-v14.15.1
$ meahana --help [COMMAND]
USAGE
$ meahana COMMAND
...
Local Env
- Create a
.env
file with variableAPI_BASE_URL
having it's value set to the base url of the deployed api - Build the CLI using
npm run build
oryarn build
- To run on local env, replace the
meahana
keyword in command with./bin/run
keeping the rest same
$ ./bin/run logout
Are you sure you want to logout? (y|yes|n|no):
USAGE
$ ./bin/run logout
Commands
meahana help [COMMAND]
Display help for meahana.
USAGE
$ meahana help [COMMAND] [-n]
ARGUMENTS
COMMAND Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for meahana.
See code: @oclif/plugin-help
meahana login
Meahana Login
USAGE
$ meahana login
DESCRIPTION
Meahana Login
EXAMPLES
$ meahana login
See code: dist/commands/login/index.ts
meahana logout
Meahana Logout
USAGE
$ meahana logout [-c]
FLAGS
-c, --confirm
DESCRIPTION
Meahana Logout
EXAMPLES
$ meahana logout
See code: dist/commands/logout/index.ts
meahana push
Read meahana.json and select a component group to push/update
USAGE
$ meahana push -i [interaction number] -c [component number]
DESCRIPTION
Read meahana.json and select a component group to push/update
EXAMPLES
$ meahana push
$ meahana push -i 1
$ meahana push -i 1 -c 1
See code: dist/commands/push/index.ts
meahana show
Read and display meahana file as component-group and components
USAGE
$ meahana show
DESCRIPTION
Read and display meahana file as component-group and components
EXAMPLES
$ meahana show
See code: dist/commands/show/index.ts
meahana user
Display current Meahana user & organization info
USAGE
$ meahana user
DESCRIPTION
Display current Meahana user & organization info
EXAMPLES
$ meahana user
See code: dist/commands/user/index.ts