Skip to content

Commit

Permalink
enhancement: using less verbose names
Browse files Browse the repository at this point in the history
  • Loading branch information
dafuga committed Oct 20, 2023
1 parent 20cb5e9 commit b36cd52
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/commands/account/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {APIClient, KeyType, PrivateKey, type NameType} from '@wharfkit/antelope'
import {APIClient, KeyType, type NameType, PrivateKey} from '@wharfkit/antelope'
import {type ChainDefinition, type ChainIndices, Chains} from '@wharfkit/common'
import {log} from '../../utils'

Expand Down
10 changes: 5 additions & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ program.version(version).name('wharfkit').description('Wharf Command Line Utilit

// 1. Command to generate keys
program
.command('generate-keys')
.command('keys')
.description('Generate a new set of public and private keys')
.action(generateKeysFromCommand)

// 2. Command to create an account
program
.command('create-account')
.command('account')
.description('Create a new account with an optional public key')
.option('--chain <chain>', 'The chain to create the account on. Defaults to "jungle4".')
.option('-c, --chain <chain>', 'The chain to create the account on. Defaults to "jungle4".')
.option(
'--account-name <accountName>',
'-n, --name <accountName>',
'Account name for the new account. Must end with ".gm". If not provided, a random name is generated.'
)
.option(
'--public-key <publicKey>',
'-k, --key <publicKey>',
'Public key for the new account. If not provided, keys are generated.'
)
.action(createAccountFromCommand)
Expand Down

0 comments on commit b36cd52

Please sign in to comment.