electra-cli
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -0,0 +0,0 @@ #!/usr/bin/env node |
@@ -17,3 +17,4 @@ #!/usr/bin/env node | ||
.version(VERSION) | ||
.command('serve', 'Start the Bootstrap Node server.') | ||
.command('start', 'Start the daemon and watch it.') | ||
.parse(process.argv) |
{ | ||
"name": "electra-cli", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "CLI tools for Electra daemon and blockchain.", | ||
@@ -12,3 +12,4 @@ "license": "MIT", | ||
"scripts": { | ||
"start": "node src/serve", | ||
"postpublish": "git push origin head && git push --tags && npm publish", | ||
"start": "node bin/electra-serve", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
@@ -15,0 +16,0 @@ }, |
@@ -88,6 +88,8 @@ # Electra CLI | ||
The usage part only concerns local installtions as a tool belt. | ||
```bash | ||
electra <command> [--option] | ||
``` | ||
electra <command> | ||
To **list the available commands**, just type `electra`. | ||
Just type `electra` to show the manual and list the available commands. | ||
To **list the available options for each command**, just type `electra <command> --help`. |
@@ -49,3 +49,3 @@ const log = require('@inspired-beings/log') | ||
log.clear() | ||
log(`Electra CLI v${VERSION}`) | ||
log(`Electra CLI v${VERSION} [Bootstrap Node]`) | ||
log() | ||
@@ -85,3 +85,3 @@ | ||
async function run() { | ||
module.exports = async function run() { | ||
const options = OPTIONS_DEFAULT | ||
@@ -120,3 +120,1 @@ | ||
} | ||
run() |
@@ -32,3 +32,3 @@ const ElectraJs = require('electra-js') | ||
log.clear() | ||
log(`Electra CLI v${VERSION}`) | ||
log(`Electra CLI v${VERSION} [Wallet Recovery]`) | ||
log() | ||
@@ -35,0 +35,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15629
14
257
95