Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Add -v commmand - FHCLI-3
Browse files Browse the repository at this point in the history
  • Loading branch information
mmurphy committed Jul 1, 2015
1 parent db34c89 commit a57cb20
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lib/cmd/common/-v.js
@@ -0,0 +1,16 @@
var fhc = require('../../fhc');

module.exports = {
'desc': 'Version info about ththis tool',
'examples': [{
cmd: 'fhc -v',
desc: ''
}],
'demand': [],
'alias': {},
'describe': {},
customCmd: function(params, cb) {
var fhcVersionString = "FHC Version: " + fhc._version + '\n';
return cb(null, fhcVersionString);
}
};

0 comments on commit a57cb20

Please sign in to comment.