balena-cli/build/actions/info.js
2015-04-30 11:56:15 -04:00

17 lines
354 B
JavaScript

(function() {
var packageJSON;
packageJSON = require('../../package.json');
exports.version = {
signature: 'version',
description: 'output the version number',
help: 'Display the Resin CLI version.',
action: function(params, options, done) {
console.log(packageJSON.version);
return done();
}
};
}).call(this);