Merge pull request #335 from braydonf/aliases
Remove aliases for commands
This commit is contained in:
commit
0b761511a0
|
@ -26,8 +26,8 @@ Bitcore includes a Command Line Interface (CLI) for managing, configuring and in
|
||||||
```bash
|
```bash
|
||||||
bitcore-node create -d <bitcoin-data-dir> mynode
|
bitcore-node create -d <bitcoin-data-dir> mynode
|
||||||
cd mynode
|
cd mynode
|
||||||
bitcore-node add <service>
|
bitcore-node install <service>
|
||||||
bitcore-node add https://github.com/yourname/helloworld
|
bitcore-node install https://github.com/yourname/helloworld
|
||||||
```
|
```
|
||||||
|
|
||||||
This will create a directory with configuration files for your node and install the necessary dependencies. For more information about (and developing) services, please see the [Service Documentation](docs/services.md).
|
This will create a directory with configuration files for your node and install the necessary dependencies. For more information about (and developing) services, please see the [Service Documentation](docs/services.md).
|
||||||
|
|
|
@ -3,8 +3,8 @@ A Bitcoin full node for building applications and services with Node.js. A node
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install -g bitcore
|
npm install -g bitcore-node
|
||||||
bitcore start
|
bitcore-node start
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: For your convenience, we distribute binaries for x86_64 Linux and x86_64 Mac OS X. Upon npm install, the binaries for your platform will be downloaded. For more detailed installation instructions, or if you want to compile the project yourself, then please see the [Build & Install](build.md) documentation to build the project from source.
|
Note: For your convenience, we distribute binaries for x86_64 Linux and x86_64 Mac OS X. Upon npm install, the binaries for your platform will be downloaded. For more detailed installation instructions, or if you want to compile the project yourself, then please see the [Build & Install](build.md) documentation to build the project from source.
|
||||||
|
@ -19,10 +19,10 @@ Note: For your convenience, we distribute binaries for x86_64 Linux and x86_64 M
|
||||||
Bitcore includes a Command Line Interface (CLI) for managing, configuring and interfacing with your Bitcore Node.
|
Bitcore includes a Command Line Interface (CLI) for managing, configuring and interfacing with your Bitcore Node.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bitcore create -d <bitcoin-data-dir> mynode
|
bitcore-node create -d <bitcoin-data-dir> mynode
|
||||||
cd mynode
|
cd mynode
|
||||||
bitcore install <service>
|
bitcore-node install <service>
|
||||||
bitcore install https://github.com/yourname/helloworld
|
bitcore-node install https://github.com/yourname/helloworld
|
||||||
```
|
```
|
||||||
|
|
||||||
This will create a directory with configuration files for your node and install the necessary dependencies. For more information about (and developing) services, please see the [Service Documentation](services.md).
|
This will create a directory with configuration files for your node and install the necessary dependencies. For more information about (and developing) services, please see the [Service Documentation](services.md).
|
||||||
|
|
|
@ -67,7 +67,6 @@ function main(servicesPath, additionalServices) {
|
||||||
|
|
||||||
program
|
program
|
||||||
.command('install <services...>')
|
.command('install <services...>')
|
||||||
.alias('add')
|
|
||||||
.description('Install a service for the current node')
|
.description('Install a service for the current node')
|
||||||
.action(function(services){
|
.action(function(services){
|
||||||
var configInfo = findConfig(process.cwd());
|
var configInfo = findConfig(process.cwd());
|
||||||
|
@ -94,7 +93,6 @@ function main(servicesPath, additionalServices) {
|
||||||
|
|
||||||
program
|
program
|
||||||
.command('uninstall <services...>')
|
.command('uninstall <services...>')
|
||||||
.alias('remove')
|
|
||||||
.description('Uninstall a service for the current node')
|
.description('Uninstall a service for the current node')
|
||||||
.action(function(services){
|
.action(function(services){
|
||||||
var configInfo = findConfig(process.cwd());
|
var configInfo = findConfig(process.cwd());
|
||||||
|
|
Loading…
Reference in New Issue