0.0.1 • Published 6 years ago

run27017-starter v0.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

run27017-starter

用例

指定config.js和targetPath:

./index.js ruby/bundler ~/test --config ./config.local.js
./index.js ruby/bundler ~/test/bundler --config ./config.local.js

第二次调用时目录已存在。

另一个当前目录,测试前先cd:

path/to/index.js ruby/bundler --config path/to/config.local.js
path/to/index.js ruby/bundler bundler --config path/to/config.local.js

另外支持的targetPath包括:

  • tmp: tmp已存在,生成到tmp/bundler
  • ./tmp: 同上
  • tmp/bundler: tmp存在,tmp/bundler不存在,生成到tmp/bundler
  • ./tmp/bundler: 同上
  • ../tmp
  • ../tmp/bundler
  • /tmp
  • /tmp/bundler

写了错误的模板名:

./index.js ruby/bundler2 ~/test --config ./config.local.js

使用默认的config.js:

./index.js ruby/bundler ~/test