Skip to content

Commit

Permalink
merging dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mixmix committed Oct 23, 2024
1 parent 3e1df5c commit fe90ac6
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,17 @@ const program = new Command()
/* no command */
program
.name('entropy')
.description('CLI interface for interacting with entropy.xyz. Running this binary without any commands or arguments starts a text-based interface.')
.description([
'CLI interface for interacting with entropy.xyz.',
'Running this binary without any commands or arguments starts a text-based interface.'
].join(' '))
.addOption(
new Option(
'-d, --dev',
'Runs entropy in a developer mode uses the dev endpoint as the main endpoint and allows for faucet option to be available in the main menu'
[
'Runs entropy in a developer mode uses the dev endpoint as the main endpoint and',
'allows for faucet option to be available in the main menu'
].join(' ')
)
.env('DEV_MODE')
.hideHelp()
Expand All @@ -42,7 +48,8 @@ program
: undefined
// NOTE:
// - on initial startup you have no account
// - no custom config for the TUI at moment (opt.name collisions)
// - no custom config for the TUI at moment
// - option name collisions, see: https://github.com/tj/commander.js/issues/2260
launchTui(entropy, opts)
})
.hook('preAction', async (thisCommand, actionCommand) => {
Expand Down

0 comments on commit fe90ac6

Please sign in to comment.