You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/usr/bin/env node
|
|
|
|
|
|
|
|
var program = require('commander');
|
|
|
|
var cli = require('../lib/clilib.js');
|
|
|
|
|
|
|
|
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')
|
|
|
|
.command('address', 'create a new address from server')
|
|
|
|
.command('addresses', 'list addresses')
|
|
|
|
.command('send <address> <amount> <note>', 'send bitcoins')
|
|
|
|
.parse(process.argv);
|
|
|
|
|
|
|
|
|
|
|
|
|