balena-cli/build/actions/info.js

17 lines
423 B
JavaScript
Raw Normal View History

2015-02-26 15:47:56 +00:00
(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.',
2015-02-26 15:47:56 +00:00
action: function() {
console.log(packageJSON.name + ": " + packageJSON.version);
return console.log("node: " + process.version);
}
};
}).call(this);