1.0.1 • Published 4 years ago

bjcacli v1.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

脚手架生成工具

设计思路

weapp-start -> local temp dir -> copy to current dir -> replace by template

本地安装

#安装依赖
npm install 
#安装本地
npm link
#执行命令,可查看帮助
bjcacli --help

#删除命令
npm rm --global bjcacli

Usage: bjcacli [options]

Options:
  -v, --version             output the version number
  -u, --url <download url>  下载地址 (default: "https://codeload.github.com/shuvigoss/weapp-starter/zip/master")
  -n, --projectName <name>  工程名称
  -h, --help                display help for command

#尝试生成一个纯净的微信小程序工程
bjcacli -n helloworld

TODO:发布到npm registry