Skip to content
Myr

update test cases for executablesubcommand

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

authored by zhiyelee · committed by zhiyelee · parent 49295a9 · Browse files · 4 files+30 added−17 removed
This commit

State

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

Diff stats

4 files+30 added−17 removed

  • tests:+30 added−17 removed

4 files+30 added−17 removed

added:test/fixtures/pm+10 added
1#!/usr/bin/env node23var program = require('../../');45program6 .version('0.0.1')7 .command('install [name]', 'install one or more packages')8 .command('search [query]', 'search with optional query')9 .command('list', 'list packages installed')10 .parse(process.argv);
added:test/fixtures/pm-install+3 added
1#!/usr/bin/env node2console.log('install')3
modified:test/test.command.executableSubcommand.js+14 added-17 removed