balena-cli/build/actions/info.js
2015-03-03 11:32:24 -04:00

17 lines
423 B
JavaScript

(function() {
var packageJSON;
packageJSON = require('../../package.json');
exports.version = {
signature: 'version',
description: 'output the version number',
help: 'Display the Resin CLI, as well as the bundled NodeJS version.',
action: function() {
console.log(packageJSON.name + ": " + packageJSON.version);
return console.log("node: " + process.version);
}
};
}).call(this);