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

The walk stopped after 200 commits: lines older than f5abcdb point at it.

Merge pull request #728 from sorohan/masterTomoaki Abebefore adoptionf5abcdb

lines 1–2why, one step back
1#!/usr/bin/env node
2

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

lines 3–4why, one step back
3// const program = require('commander'); // (normal include)
4const program = require('../'); // include commander in git clone of commander repo

Merge pull request #728 from sorohan/masterTomoaki Abebefore adoptionf5abcdb

lines 5–14why, one step back
5
6program7 .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();