test.command.usage.js
This file
Path
test/test.command.usage.js
8 lines · 201 bytes · JavaScript
Last changed by
Merge pull request #980 from shadowspawn/feature/739-command-prefixJohn Geebefore adoptionf08adb2
History of this fileTake it
Merge pull request #980 from shadowspawn/feature/739-command-prefixJohn Geebefore adoptionf08adb2
lines 1–8why, one step back1var program = require('../')2 , should = require('should');34program5 .name('test')6 .command('info [options]')78program.commands[0].helpInformation().should.startWith('Usage: test info [options]')