@niq/ripple-scripts
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -99,6 +99,7 @@ #!/usr/bin/env node | ||
var relative = path.relative(process.cwd(), script); | ||
var relative = path.basename(script, '.js'); | ||
if (args.length < 4) { | ||
console.error('Usage: ' + relative + ' <secret> <tx_json> [signing_account]'); | ||
console.error('\ne.g: ' + relative + ' ' + EXAMPLE.secret + ' \'' + EXAMPLE.tx_json + '\''); | ||
console.error('e.g:'); | ||
console.error(relative + ' ' + EXAMPLE.secret + ' \'' + EXAMPLE.tx_json + '\''); | ||
} else { | ||
@@ -105,0 +106,0 @@ var bundle = signTxJson(JSON.parse(tx_json), secret, signingAccount); |
@@ -73,3 +73,3 @@ #!/usr/bin/env node | ||
if (args.length < 4) { | ||
var relative = path.relative(process.cwd(), script); | ||
var relative = path.basename(script, '.js'); | ||
console.error('Usage: ' + relative + ' <secret> <tx_json>\ne.g:'); | ||
@@ -76,0 +76,0 @@ console.error(relative + ' ' + EXAMPLE.secret + ' \'' + EXAMPLE.tx_json + '\''); |
@@ -83,3 +83,3 @@ #!/usr/bin/env node | ||
(function () { | ||
var _yargs$usage$demand = yargs.usage('$0 <ledger_dump.json>').demand(1); | ||
var _yargs$usage$demand = yargs.usage('verify-ledger <ledger_dump.json>').demand(1); | ||
@@ -86,0 +86,0 @@ var argv = _yargs$usage$demand.argv; |
@@ -59,3 +59,3 @@ #!/usr/bin/env node | ||
if (args.length < 3) { | ||
var relative = path.relative(process.cwd(), script); | ||
var relative = path.basename(script, '.js'); | ||
console.error('Usage: ' + relative + ' <tx_json>\ne.g:'); | ||
@@ -62,0 +62,0 @@ console.error(relative + ' \'' + EXAMPLE + '\''); |
{ | ||
"name": "@niq/ripple-scripts", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "ripple scripts", | ||
@@ -5,0 +5,0 @@ "files": [ |
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
17495
463