1.0.4 • Published 9 years ago

print_usage v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

print_usage

Exit the program and print the usage from usage.md or a provided string.

Example

usage.md

Usage: your_sweet_module [OPTIONS] COMMAND

index.js

var printUsage = require('print_usage');
printUsage()
$ Usage: your_sweet_module [OPTIONS] COMMAND

or:

printUsage('Usage: my_other_sweet_module [-abfjd] [--thing]');
$ Usage: my_other_sweet_module [-abfjd] [--thing]

install

With npm do:

npm install print_usage

license

MIT

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago