@hzfe/wxapp-cli
v0.2.4
Published
自用小程序脚手架
Downloads
28
Readme
wxapp-cli 
A command line interface for Mini Program.
Install
npm install -g @hzfe/wxapp-cliUsage
wxa <command> [args]
Commands:
wxa new [projectname] [templaterepo] 🍎 New a mini program project
wxa gen [type] [name] [root] 🍐 Generate specific type files.
[aliases: g, generate]
Options:
-h, --help Show help [boolean]
-v, --version Show version number [boolean]wxa new
Create new mini program with out-of-the-box support for Babel, ESLint, TypeScript, PostCSS, etc.
wxa new [projectname] [templaterepo]
Positionals:
projectname 📓 Your project name
templaterepo 📒 Git repository or local directory
Options:
-y, --yes Use default setting [boolean]
-h, --help Show help [boolean]wxa gen
Generate pages, subPackages, components with a simple command.
wxa gen [type] [name] [root]
Positionals:
type 📓 Type to generate. (Available choices: [page, spage, cpn])
name 📒 Name used for files. (Path can be included in the name)
root 📖 Root used for subpackage files. (Only available for [spage] type)
Options:
-h, --help Show help [boolean]Advance[todo]
You can create a mini program using your customize project template.
