Skip to content
Myr

Merge pull request #316 from zhiyelee/updatereadme

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

update README for application description

authored by Zhiye Li · committed by Zhiye Li · parents 71a5bda, 9d35a12 · Browse files · 2 files+5 added−1 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+5 added−1 removed

  • other:+5 added−1 removed

2 files+5 added−1 removed

modified:examples/pizza+1 added
6 unmodified lines
7var program = require('../');89program10 .version('0.0.1')11 .description('An application for pizzas ordering')12 .option('-p, --peppers', 'Add peppers')13 .option('-P, --pineapple', 'Add pineapple')14 .option('-b, --bbq', 'Add bbq sauce')15 .option('-c, --cheese <type>', 'Add the specified type of cheese [marble]')
14 unmodified lines
modified:Readme.md+4 added-1 removed
98 unmodified lines
99 $ ./examples/pizza --help100101 Usage: pizza [options]102103 An application for pizzas ordering104105 Options:106107 -h, --help output usage information108 -V, --version output the version number109 -p, --peppers Add peppers110 -P, --pineapple Add pineapple111 -b, --bbq Add bbq sauce112 -c, --cheese <type> Add the specified type of cheese [marble]110 -h, --help output usage information113 -C, --no-cheese You do not want any cheese114115```116117## Coercion
142 unmodified lines