Skip to content

Commit

Permalink
fix: usage show correct command name
Browse files Browse the repository at this point in the history
  • Loading branch information
thepiwo committed Nov 14, 2021
1 parent fc4eaef commit 223f05d
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/aecli-account.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ const requireEsm = require('esm')(module/*, options */) // use to handle es6 imp
const utils = requireEsm('./utils/index')
const { Account } = requireEsm('./commands')

program
.name('aecli account')

// ## Initialize `options`
program
.option('-u, --url [hostname]', 'Node to connect to', utils.constant.NODE_URL)
Expand Down
3 changes: 3 additions & 0 deletions bin/aecli-chain.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ const requireEsm = require('esm')(module/*, options */) // use to handle es6 imp
const utils = requireEsm('./utils/index')
const { Chain } = requireEsm('./commands')

program
.name('aecli chain')

// # Initialize `options`
program
.option('-u --url [hostname]', 'Node to connect to', utils.constant.NODE_URL)
Expand Down
3 changes: 3 additions & 0 deletions bin/aecli-contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ const requireEsm = require('esm')(module/*, options */) // use to handle es6 imp
const utils = requireEsm('./utils/index')
const { Contract } = requireEsm('./commands')

program
.name('aecli contract')

// ## Initialize `options`
program
.option('-u --url [hostname]', 'Node to connect to', utils.constant.NODE_URL)
Expand Down
3 changes: 3 additions & 0 deletions bin/aecli-crypto.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ const { prompt, PROMPT_TYPE } = requireEsm('./utils/prompt')
const { Crypto } = requireEsm('@aeternity/aepp-sdk')
const utils = requireEsm('./utils/index')

program
.name('aecli crypto')

// ## Key Extraction (from node nodes)
async function extractReadableKeys (dir, options) {
const pwd = options.input
Expand Down
3 changes: 3 additions & 0 deletions bin/aecli-inspect.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ const requireEsm = require('esm')(module/*, options */) // use to handle es6 imp
const utils = requireEsm('./utils/index')
const { Inspect } = requireEsm('./commands')

program
.name('aecli inspect')

// ## Initialize `options`
program
.option('-u --url [hostname]', 'Node to connect to', utils.constant.NODE_URL)
Expand Down
3 changes: 3 additions & 0 deletions bin/aecli-name.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ const requireEsm = require('esm')(module/*, options */) // use to handle es6 imp
const utils = requireEsm('./utils/index')
const { AENS } = requireEsm('./commands')

program
.name('aecli name')

// ## Initialize `options`
program
.option('-u, --url [hostname]', 'Node to connect to', utils.constant.NODE_URL)
Expand Down
3 changes: 3 additions & 0 deletions bin/aecli-oracle.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ const requireEsm = require('esm')(module/*, options */) // use to handle es6 imp
const utils = requireEsm('./utils/index')
const { Oracle } = requireEsm('./commands')

program
.name('aecli oracle')

// ## Initialize `options`
program
.option('-u, --url [hostname]', 'Node to connect to', utils.constant.NODE_URL)
Expand Down
3 changes: 3 additions & 0 deletions bin/aecli-tx.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ const requireEsm = require('esm')(module/*, options */) // use to handle es6 imp
const utils = requireEsm('./utils/index')
const { Transaction } = requireEsm('./commands')

program
.name('aecli tx')

// ## Initialize `options`
program
.option('-u, --url [hostname]', 'Node to connect to', utils.constant.NODE_URL)
Expand Down

0 comments on commit 223f05d

Please sign in to comment.