Skip to content
Myr

add test for sub-subcommands

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Bryan Kendall · committed by Bryan Kendall · parent 920dc87 · Browse files · 5 files+41 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

5 files+41 added−0 removed

  • tests:+41 added−0 removed

5 files+41 added−0 removed

modified:test/fixtures/pm+1 added
4 unmodified lines
5program6 .version('0.0.1')7 .command('install [name]', 'install one or more packages')8 .command('search [query]', 'search with optional query')9 .command('cache', 'actions dealing with the cache')10 .command('list', 'list packages installed')11 .command('publish', 'publish or update package')12 .command('default', 'default command', {noHelp: true, isDefault: true})13 .parse(process.argv);
added:test/fixtures/pm-cache-clear.js+1 added
added:test/fixtures/pm-cache-validate.js+1 added
added:test/fixtures/pm-cache.js+6 added
added:test/test.command.executableSubcommandSubCommand.js+32 added