0.6.5 • Published 3 years ago

@echo./cli-utils v0.6.5

Weekly downloads
1
License
MIT
Repository
-
Last release
3 years ago

@echo./cli-utils

oclif Version Downloads/week License

Usage

$ npm install -g @echo./cli-utils
$ echo.utils COMMAND
running command...
$ echo.utils (-v|--version|version)
@echo./cli-utils/0.6.4 linux-x64 node-v14.15.1
$ echo.utils --help [COMMAND]
USAGE
  $ echo.utils COMMAND
...

Commands

echo.utils conf [KEY] [VALUE]

manage configuration

USAGE
  $ echo.utils 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

echo.utils utils:init

Initialize new project by a pre template

USAGE
  $ echo.utils utils:init

OPTIONS
  -c, --custom                     custom some handle logic after created project
  -d, --develop=develop            [default: yarn dev] starting projects command such as yarn dev
  -f, --firstCommit=firstCommit    [default: first commit] your first commit message
  -g, --git                        comfirm if you need init git to your project
  -h, --hosting=hosting            (required) [default: github.com] git hosting
  -i, --initialize=initialize      [default: yarn install] project initialize command such as yarn install
  -n, --name=name                  (required) [default: echo-helloworld] project name
  -p, --preset=preset              (required) [default: echoings/stencil.] git repo
  -r, --remoteOrigin=remoteOrigin  your remote origin
  -s, --stencil=stencil            (required) [default: web-vue-vuetify] git branch or tag
  -t, --type=type                  [default: new] project type