mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-23 15:32:22 +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);
|