balena-cli/lib/actions/info.coffee

9 lines
242 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'
action: ->
console.log("#{packageJSON.name}: #{packageJSON.version}")
console.log("node: #{process.version}")