Skip to content
Myr

test.command.help.js

This file

Path

test/test.command.help.js

12 lines · 331 bytes · JavaScript

Last changed by

Merge pull request #711 from cravler/args_descriptionTomoaki Abebefore adoptionc92ca1d

History of this file

Take it

Merge pull request #416 from zhiyelee/zhiyelee/fixHelpUndefinedZhiye Libefore adoption1559b3e

lines 1–5why, one step back
1var program = require('../')
2 , sinon = require('sinon').sandbox.create()3 , should = require('should');45

remove trailing spaces in command helpDan Allenbefore adoptionff712f1

line 6why, one step back
6program.command('bare');

Merge pull request #416 from zhiyelee/zhiyelee/fixHelpUndefinedZhiye Libefore adoption1559b3e

line 7why, one step back
7

Merge pull request #711 from cravler/args_descriptionTomoaki Abebefore adoptionc92ca1d

line 8why, one step back
8program.commandHelp().should.equal(' Commands:\n\n bare\n');

Merge pull request #416 from zhiyelee/zhiyelee/fixHelpUndefinedZhiye Libefore adoption1559b3e

line 9why, one step back
9

remove trailing spaces in command helpDan Allenbefore adoptionff712f1

lines 10–11why, one step back
10program.command('mycommand [options]');
11

Merge pull request #711 from cravler/args_descriptionTomoaki Abebefore adoptionc92ca1d

line 12why, one step back
12program.commandHelp().should.equal(' Commands:\n\n bare\n mycommand [options]\n');