Skip to content
Myr

Fix require arguments in README.md

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

It may confuse people if we `require('..')` in README.md I changed it to `require('commander')`

authored by xcatliu · committed by GitHub · parent 3367806 · Browse files · 1 file+2 added−2 removed
This commit

State

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

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:Readme.md+2 added-2 removed
135 unmodified lines
136137```js138#!/usr/bin/env node139140var program = require('../');140var program = require('commander');141142program143 .version('0.0.1')144 .arguments('<cmd> [env]')
16 unmodified lines
161## Git-style sub-commands162163```js164// file: ./examples/pm165var program = require('..');165var program = require('commander');166167program168 .version('0.0.1')169 .command('install [name]', 'install one or more packages')
183 unmodified lines