mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-20 06:07:55 +00:00
12 lines
322 B
CoffeeScript
12 lines
322 B
CoffeeScript
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: ->
|
|
console.log("#{packageJSON.name}: #{packageJSON.version}")
|
|
console.log("node: #{process.version}")
|