balena-cli/build/actions/info.js
2015-08-12 08:17:46 -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);