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.

22 lines
413 B

10 years ago
#!/usr/bin/env node
var program = require('commander');
var CliLib = require('../lib/clilib.js');
10 years ago
var common = require('./common');
program
.version('0.0.1')
.option('-c,--config [file]', 'Wallet config filename')
.parse(process.argv);
var args = program.args;
var cli = new CliLib({
filename: program.config
});
10 years ago
cli.status(function(err, xx) {
common.die(err);
console.log(' * Status:', xx);
});