Skip to content
Myr

update README

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by zhiyelee · committed by zhiyelee · parent e724fd4 · Browse files · 2 files+7 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+7 added−0 removed

  • other:+7 added−0 removed

2 files+7 added−0 removed

modified:History.md+1 added
4 unmodified lines
5 * Add `process.execArg` support, execution args like `--harmony` will be passed to sub-commands #387 @DigitalIO @zhiyelee6 * Fix bug in Git-style sub-commands #372 @zhiyelee7 * Allow commands to be hidden from help #383 @tonylukasavage8 * When git-style sub-commands are in use, yet none are called, display help #382 @claylo9 * Add ability to specify arguments syntax for top-level command #258 @rrthomas10 * Support multiline descriptions #208 @zxqfox11122.7.1 / 2015-03-1113==================
236 unmodified lines
modified:Readme.md+6 added
149 unmodified lines
150The commander will try to search the executables in the directory of the entry script (like `./examples/pm`) with the name `program-command`, like `pm-install`, `pm-search`.151152If the program is designed to be installed globally, make sure the executables have proper modes, like `755`.153154### `--harmony`155156You can enable `--harmony` option in two ways:157* Use `#! /usr/bin/env node --harmony` in the sub-commands scripts. Note some os version don’t support this pattern.158* Use the `--harmony` option when call the command, like `node --harmony examples/pm publish`. The `--harmony` option will be preserved when spawning sub-command process.159160## Automated --help161162 The help information is auto-generated based on the information commander already knows about your program, so the following `--help` info is for free:163
155 unmodified lines