bin: fully deprecate bcoin cli

This commit is contained in:
Matthew Zipkin 2019-02-20 15:34:36 -08:00
parent 08b23c1777
commit c8db665992
No known key found for this signature in database
GPG Key ID: E7E2984B6289C93A
2 changed files with 1 additions and 9 deletions

View File

@ -3,4 +3,3 @@
'use strict';
require('bclient/bin/bwallet-cli');

View File

@ -4,11 +4,4 @@
console.error('%s%s',
'Warning: The `bcoin cli` interface is deprecated.\n',
'Please use `bcoin-cli` ($ npm install bclient).');
if (process.argv.length > 2 && process.argv[2] === 'wallet') {
process.argv.splice(2, 1); // Evil hack.
require('bclient/bin/bwallet-cli');
} else {
require('bclient/bin/bcoin-cli');
}
'Please use `bcoin-cli` and `bwallet-cli` instead.');