balena-cli/lib/actions/info.coffee

12 lines
322 B
CoffeeScript
Raw Normal View History

2015-01-15 14:16:07 +00:00
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}")