mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-21 14:37:47 +00:00
Merge pull request #9 from resin-io/feature/version
Remove bundled node version from version command
This commit is contained in:
commit
cd28c985ce
@ -6,10 +6,9 @@
|
||||
exports.version = {
|
||||
signature: 'version',
|
||||
description: 'output the version number',
|
||||
help: 'Display the Resin CLI, as well as the bundled NodeJS version.',
|
||||
help: 'Display the Resin CLI version.',
|
||||
action: function() {
|
||||
console.log(packageJSON.name + ": " + packageJSON.version);
|
||||
return console.log("node: " + process.version);
|
||||
return console.log(packageJSON.version);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
# version
|
||||
|
||||
Display the Resin CLI, as well as the bundled NodeJS version.
|
||||
Display the Resin CLI version.
|
||||
|
@ -4,8 +4,7 @@ exports.version =
|
||||
signature: 'version'
|
||||
description: 'output the version number'
|
||||
help: '''
|
||||
Display the Resin CLI, as well as the bundled NodeJS version.
|
||||
Display the Resin CLI version.
|
||||
'''
|
||||
action: ->
|
||||
console.log("#{packageJSON.name}: #{packageJSON.version}")
|
||||
console.log("node: #{process.version}")
|
||||
console.log(packageJSON.version)
|
||||
|
Loading…
Reference in New Issue
Block a user