2015-02-12 18:57:16 -08:00
|
|
|
#!/usr/bin/env node
|
|
|
|
|
|
|
|
var program = require('commander');
|
|
|
|
|
|
|
|
program
|
|
|
|
.version('0.0.1')
|
|
|
|
.command('create <walletName> <m-n> [username]', 'creates a wallet')
|
|
|
|
.command('join <secret> [username]', 'join a wallet')
|
|
|
|
.command('status', 'get wallet status')
|
2015-02-13 07:55:07 -08:00
|
|
|
.command('address', 'create a new address from server')
|
|
|
|
.command('addresses', 'list addresses')
|
2015-02-13 08:35:20 -08:00
|
|
|
.command('balance', 'wallet balance')
|
2015-02-13 07:45:05 -08:00
|
|
|
.command('send <address> <amount> <note>', 'send bitcoins')
|
2015-02-13 12:02:56 -08:00
|
|
|
.command('sign <txpId>', 'sign a Transaction Proposal')
|
2015-02-13 17:51:40 -08:00
|
|
|
.command('reject <txpId>', 'reject a Transaction Proposal')
|
2015-02-12 18:57:16 -08:00
|
|
|
.parse(process.argv);
|
|
|
|
|
|
|
|
|
|
|
|
|