Skip to content
Myr

add demo for harmony

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

authored by zhiyelee · committed by zhiyelee · parent 0bd4575 · Browse files · 2 files+7 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

2 files+7 added−0 removed

  • other:+7 added−0 removed

2 files+7 added−0 removed

modified:examples/pm+1 added
5 unmodified lines
6 .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 .command('publish', 'publish the package')11 .parse(process.argv);1213// here .command() is invoked with a description,14// and no .action(callback) calls to handle sub-commands.
13 unmodified lines
added:examples/pm-publish.js+6 added