@zhinan-oppo/snowball-cli
v3.7.1
Published
Snowball command line tools
Downloads
3
Keywords
Readme
@zhinan-oppo/snowball-cli
Tools
Usage
$ npm install -g @zhinan-oppo/snowball-cli
$ snowball COMMAND
running command...
$ snowball (-v|--version|version)
@zhinan-oppo/snowball-cli/3.7.1 darwin-x64 node-v12.16.1
$ snowball --help [COMMAND]
USAGE
$ snowball COMMAND
...
Commands
snowball help [COMMAND]
display help for snowball
USAGE
$ snowball help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
snowball pack [REVISION]
基于 Git 对源码及资源文件打包
USAGE
$ snowball pack [REVISION]
ARGUMENTS
REVISION 生成相对该版本号的增量包;未提供则生成全量包
OPTIONS
-c, --config=config 配置文件路径
-h, --help show CLI help
-o, --output=output 输出文件夹,默认为命令当前执行的文件夹
--dry 如果为真,则只打印需要被打包的文件而不打包
--[no-]version 是否创建新的版本号,默认为 true
EXAMPLE
$ snowball pack --config snowball.config.js --output dist --no-version v1.1.0
See code: src/commands/pack.ts