Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including wx-generator with all npm packages installed. Try it out:

var wxGenerator = require("wx-generator")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

wx-generator v1.0.5

Weapp page/component generator cli


Weapp page/component generator cli

oclif Version Codecov Downloads/week License

* [Usage](#usage) * [Commands](#commands) # Usage ```sh-session $ 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]`](#wx-generator-create-type-name) * [`wx-generator help [COMMAND]`](#wx-generator-help-command)

wx-generator create [TYPE] [NAME]

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

  $ wx-generator create [TYPE] [NAME]

See code: src/commands/create.js

wx-generator help [COMMAND]

display help for wx-generator

  $ wx-generator help [COMMAND]

  COMMAND  command to show help for

  --all  see all commands in CLI

See code: @oclif/plugin-help

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free