balena-cli/lib/actions/info.coffee
2015-08-12 08:17:46 -04:00

12 lines
263 B
CoffeeScript

packageJSON = require('../../package.json')
exports.version =
signature: 'version'
description: 'output the version number'
help: '''
Display the Resin CLI version.
'''
action: (params, options, done) ->
console.log(packageJSON.version)
return done()