Skip to content

Latest commit

 

History

History
62 lines (49 loc) · 1.71 KB

README.md

File metadata and controls

62 lines (49 loc) · 1.71 KB

wx-generator

Weapp page/component generator cli

oclif Version Codecov Downloads/week License

Usage

$ npm install -g wx-generator
$ wx-generator COMMAND
running command...
$ wx-generator (-v|--version|version)
wx-generator/1.0.5 darwin-x64 node-v10.13.0
$ wx-generator --help [COMMAND]
USAGE
  $ wx-generator COMMAND
...

Commands

wx-generator create [TYPE] [NAME]

TYPE can be 'page' or 'component', NAME will be the generated dir and file name.

USAGE
  $ wx-generator create [TYPE] [NAME]

See code: src/commands/create.js

wx-generator help [COMMAND]

display help for wx-generator

USAGE
  $ wx-generator help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help