From 9f72f9aabcf9896c262e1ef40041a755d7668e2f Mon Sep 17 00:00:00 2001 From: Gant Laborde Date: Thu, 9 Nov 2017 09:33:29 -0600 Subject: [PATCH] feat: add version option (#66) Closes #65 --- cli.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli.js b/cli.js index 6d373e7..aa47f7f 100755 --- a/cli.js +++ b/cli.js @@ -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')