commander
.version('0.1.0', '-v, --version')
- .option('-s, --signature <str>', 'function signature for --wrap [async (_require, _pathname, _root)]', 'async (_require, _pathname, _root)')
+ .option('-s, --signature <str>', 'function signature for --wrap', 'async (_require, _pathname, _root)')
.option('-b, --bare-returns', 'allow return in top level code', false)
- .option('-i, --indent <n>', 'indent [2]', '2')
- .option('-j, --initial-indent <n>', 'initial indent level [0]', '0')
+ .option('-i, --indent <n>', 'indent per level', '2')
+ .option('-j, --initial-indent <n>', 'initial indent', '0')
.option('-w, --wrap', 'wrap as jst_server CommonJS module', false)
.parse(process.argv)
"dependencies": {
"@ndcode/build_cache": "^0.1.0",
"@ndcode/clean-css": "^0.1.0",
- "@ndcode/disk_build": "^0.1.0",
+ "@ndcode/disk_build": "^0.1.1",
"assert": "^1.4.1",
"astring": "^1.3.1",
+ "commander": "^2.17.0",
"rollup": "^0.45.0",
"rollup-plugin-buble": "^0.16.0",
"uglify-es": "^3.3.9"