mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-30 02:28:51 +00:00
17 lines
423 B
JavaScript
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);
|