Skip to content
Myr

description

This file

Path

examples/description

14 lines · 437 bytes

Last changed by

Merge branch 'develop' into release/5.xJohn Geebefore adoption491b2e4

History of this file

Take it

1#!/usr/bin/env node23// const program = require('commander'); // (normal include)4const program = require('../'); // include commander in git clone of commander repo56program7  .version('0.0.1')8  .description('Application simple description')9  .option('-f, --foo', 'enable some foo')10  .option('-b, --bar', 'enable some bar')11  .option('-B, --baz', 'enable some baz')12  .parse(process.argv);1314if (!program.args.length) program.help();