1.2.6 • Published 4 years ago

redux-toolkit-plus-cli v1.2.6

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

redux-toolkit-plus-cli

the command line interface for redux-tookkit-plus

oclif Version Downloads/week License

Usage

$ npm install -g redux-toolkit-plus-cli
$ redux+ COMMAND
running command...
$ redux+ (-v|--version|version)
redux-toolkit-plus-cli/1.2.6 win32-x64 node-v17.1.0
$ redux+ --help [COMMAND]
USAGE
  $ redux+ COMMAND
...

Commands

redux+ add TYPE NAME

Add the code snippets of service or saga by a specified name

USAGE
  $ redux+ add TYPE NAME

ARGUMENTS
  TYPE  (service|saga|se|sa|reducer|r) [default: service] the valid value only could be "service", "se(service alias)",
        "saga",  "sa(saga alias)", "reducer" and "r(reducer alias)"

  NAME  [default: yourMethodName]

OPTIONS
  -h, --help                     show CLI help
  -m, --method=method            the method of service(only for service)
  -p, --pair                     Whether to generate in pairs with sercie or saga
  -s, --serviceName=serviceName  the service name peer with saga(only for saga)
  -u, --url=url                  the url of service(only for service)

ALIASES
  $ redux+ a

EXAMPLE
  $ redux+ add service getListByCondition

redux+ create NAME

Create the redux-toolkit-plus application by a specified name

USAGE
  $ redux+ create NAME

OPTIONS
  -h, --help  show CLI help

ALIASES
  $ redux+ c

EXAMPLE
  $ redux+ create userList

redux+ help [COMMAND]

display help for redux+

USAGE
  $ redux+ help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help