#!/usr/bin/env node


var program = require('commander');

program
  .version('0.2.1')
  .command('price [symbol]', 'get the price of a coin from all exchanges').alias('p')
  .command('buy [symbol]', 'buy a coin from an exchange. Auto finds the best price.').alias('b')
  .command('config [exchange]', 'set your api keys for an exchange').alias('c')
  .command('funds', 'get a list of your funds from the exchanges').alias('f')
  .command('update', 'updates the list of known coins').alias('u')
  .parse(process.argv);
#!/usr/bin/env node


var program = require('commander');

program
  .version(require('./package.json').version)
  .command('price [symbol]', 'get the price of a coin from all exchanges').alias('p')
  .command('buy [symbol]', 'buy a coin from an exchange. Auto finds the best price.').alias('b')
  .command('config [exchange]', 'set your api keys for an exchange').alias('c')
  .command('funds', 'get a list of your funds from the exchanges').alias('f')
  .command('update', 'updates the list of known coins').alias('u')
  .parse(process.argv);
Fix version number displayed with -V
Fix version number displayed with -V
