Skip to content

Commit

Permalink
feat(bin): print installed folder on -h or -v
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Jul 2, 2017
1 parent 321a00e commit 2082513
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cli-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ var pkg = require('../package.json')
var la = require('lazy-ass')
var is = require('check-more-types')
var _ = require('lodash')
var path = require('path')

var parentFolder = path.join(__dirname, '..')
var info = pkg.name + ' - ' + pkg.description + '\n' +
' version: ' + pkg.version + '\n' +
' folder: ' + parentFolder + '\n' +
' author: ' + JSON.stringify(pkg.author)

var program = optimist
Expand Down

0 comments on commit 2082513

Please sign in to comment.