lina-cli
lina-cli is the official scaffolding cli for lina framework
Last updated 9 months ago by juicycleff .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install lina-cli 
SYNC missed versions from official npm registry.

lina-cli

lina-cli is the official scaffolding cli for lina framework

oclif Version CircleCI Codecov Downloads/week License

Usage

$ npm install -g lina-cli
$ lina COMMAND
running command...
$ lina (-v|--version|version)
lina-cli/2.0.5-alpha.0 darwin-x64 node-v11.1.0
$ lina --help [COMMAND]
USAGE
  $ lina COMMAND
...

Commands

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

Current Tags

  • 2.0.5-alpha.0                                ...           latest (9 months ago)

3 Versions

  • 2.0.5-alpha.0                                ...           9 months ago
  • 2.0.4-alpha.0                                ...           9 months ago
  • 2.0.3-alpha.0                                ...           9 months ago
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 0
Last Month 0
Dependencies (30)
Dev Dependencies (17)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |