Skip to content
Myr

help

This file

Path

examples/help

16 lines · 306 bytes

Last changed by

Examples: use "require" that works from git repo, and lint. (#1072)John Geebefore adoption57e9d98

History of this file

Take it

1#!/usr/bin/env node23/**4 * Module dependencies.5 */67var program = require('../');89program10  .version('0.0.1')11  .option('-f, --foo', 'enable some foo')12  .option('-b, --bar', 'enable some bar')13  .option('-B, --baz', 'enable some baz')14  .parse(process.argv);1516if (!program.args.length) program.help();