Guest User

Untitled

a guest
Jul 20th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #!/usr/bin/env node
  2.  
  3. 'use strict';
  4.  
  5. const version = require('./package.json').version;
  6. const tp = require('commander');
  7.  
  8. tp
  9. .arguments('<payee> <amount> <limit> <memo> <interval>')
  10. .option('-p, --payor <payor>', 'Payor account on the steem blockchain')
  11. .option('-w, --wif <wif>', 'Active key for payor account')
  12. .option(
  13. '-t, --test',
  14. 'Test mode. Direct transaction(s) to wss://testnet.steem.vc'
  15. )
  16. .version(version, '-v, --version');
  17.  
  18. if (tp.args.length === 0) tp.help();
Add Comment
Please, Sign In to add comment