@linaframework/lina-cli
v2.0.6-alpha.0
Published
lina-cli is the official scaffolding cli for lina framework
Downloads
4
Readme
lina-cli
lina-cli is the official scaffolding cli for lina framework
Usage
$ npm install -g @linaframework/lina-cli
$ lina COMMAND
running command...
$ lina (-v|--version|version)
@linaframework/lina-cli/2.0.6-alpha.0 darwin-x64 node-v11.1.0
$ lina --help [COMMAND]
USAGE
$ lina COMMAND
...
Commands
lina autocomplete [SHELL]
lina commands
lina component NEW
lina conf [KEY] [VALUE]
lina create NAME
lina deploy
lina help [COMMAND]
lina modules NAME
lina update [CHANNEL]
lina autocomplete [SHELL]
display autocomplete installation instructions
USAGE
$ lina autocomplete [SHELL]
ARGUMENTS
SHELL shell type
OPTIONS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
EXAMPLES
$ lina autocomplete
$ lina autocomplete bash
$ lina autocomplete zsh
$ lina autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
lina commands
list all the commands
USAGE
$ lina commands
OPTIONS
-h, --help show CLI help
-j, --json output in json format
--hidden also show hidden commands
See code: @oclif/plugin-commands
lina component NEW
create a new lina component
USAGE
$ lina component NEW
ARGUMENTS
NEW Create a lina service
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
--loglevel=error|warn|info|debug
EXAMPLE
$ lina component
See code: src/commands/component.ts
lina conf [KEY] [VALUE]
manage configuration
USAGE
$ lina conf [KEY] [VALUE]
ARGUMENTS
KEY key of the config
VALUE value of the config
OPTIONS
-d, --cwd=cwd config file location
-d, --delete delete?
-h, --help show CLI help
-k, --key=key key of the config
-n, --name=name config file name
-p, --project=project project name
-v, --value=value value of the config
See code: conf-cli
lina create NAME
Create new linaframework project
USAGE
$ lina create NAME
ARGUMENTS
NAME Please provide a name for your app
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
EXAMPLE
$ lina create my-app
See code: src/commands/create.ts
lina deploy
Deploy project to cloud
USAGE
$ lina deploy
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
--loglevel=error|warn|info|debug
EXAMPLE
$ lina deploy
See code: src/commands/deploy.ts
lina help [COMMAND]
display help for lina
USAGE
$ lina help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
lina modules NAME
Create or add existing lina modules
USAGE
$ lina modules NAME
ARGUMENTS
NAME Please provide a name for your app
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
--loglevel=error|warn|info|debug
EXAMPLES
$ lina module --add
$ lina module --create
See code: src/commands/modules.ts
lina update [CHANNEL]
update the lina CLI
USAGE
$ lina update [CHANNEL]
See code: @oclif/plugin-update