mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-23 15:32:22 +00:00
16 lines
319 B
JavaScript
16 lines
319 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() {
|
|
return console.log(packageJSON.version);
|
|
}
|
|
};
|
|
|
|
}).call(this);
|