Skip to content
Myr

docs

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

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent e93347a · Browse files · 1 file+14 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

1 file+14 added−0 removed

  • other:+14 added−0 removed

1 file+14 added−0 removed

modified:lib/commander.js+14 added
23 unmodified lines
24 */2526exports.Command = Command;2728/**29 * Expose `Option`.30 */3132exports.Option = Option;3334/**35 * Initialize a new `Option` with the given `flags` and `description`.36 *37 * @param {String} flags38 * @param {String} description39 * @api public40 */4142function Option(flags, description) {43 this.flags = flags;44 this.required = ~flags.indexOf('<');45 this.optional = ~flags.indexOf('[');
378 unmodified lines