Miss any of our Open RFC calls?Watch the recordings here! »

wx-generator

1.0.5 • Public • Published

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

Keywords

Install

npm i wx-generator

DownloadsWeekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

6.56 kB

Total Files

16

Last publish

Collaborators

  • avatar