Skip to content

Commit

Permalink
**Finally** adding the version option
Browse files Browse the repository at this point in the history
  • Loading branch information
pazdera committed Nov 29, 2017
1 parent f537f3b commit 4250957
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/kart
Original file line number Diff line number Diff line change
Expand Up @@ -363,5 +363,10 @@ let argv = yargs
return archive(argv);
}
})
.help()
.alias('h', 'help')
.help('help')

.alias('v', 'version')
.version(function() { return package.version; })
.describe('v', 'show version information')
.argv;

0 comments on commit 4250957

Please sign in to comment.