mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-20 22:23:07 +00:00
17 lines
354 B
JavaScript
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);
|