Skip to content

Commit

Permalink
feat: add version option (#66)
Browse files Browse the repository at this point in the history
Closes #65
  • Loading branch information
GantMan authored and machour committed Nov 9, 2017
1 parent 9f875e9 commit 9f72f9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ var defaultRCFile = path.join(cwd, '.all-contributorsrc');
var argv = yargs
.help('help')
.alias('h', 'help')
.alias('v', 'version')
.version()
.command('generate', 'Generate the list of contributors')
.usage('Usage: $0 generate')
.command('add', 'add a new contributor')
Expand Down

0 comments on commit 9f72f9a

Please sign in to comment.