Skip to content

Commit b92d6c1

Browse files
authored
Update wallet command descriptions (#5277)
1 parent 3f1243d commit b92d6c1

29 files changed

+67
-35
lines changed

ironfish-cli/package.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@
100100
"@oclif/plugin-warn-if-update-available"
101101
],
102102
"topics": {
103-
"wallet:scanning": {
104-
"description": "Turn on or off scanning for accounts"
105-
},
106103
"chain": {
107104
"description": "commands for the blockchain"
108105
},
@@ -112,6 +109,9 @@
112109
"chain:assets": {
113110
"description": "commands to look at assets"
114111
},
112+
"chain:transactions": {
113+
"description": "commands to look at transactions"
114+
},
115115
"rpc": {
116116
"description": "commands for the RPC server"
117117
},
@@ -124,6 +124,18 @@
124124
"wallet": {
125125
"description": "commands for the wallet"
126126
},
127+
"wallet:multisig": {
128+
"description": "commands for multisig accounts"
129+
},
130+
"wallet:notes": {
131+
"description": "commands for account notes"
132+
},
133+
"wallet:scanning": {
134+
"description": "commands for managing scanning"
135+
},
136+
"wallet:transactions": {
137+
"description": "commands for account transactions"
138+
},
127139
"workers": {
128140
"description": "commands for the worker pool"
129141
}

ironfish-cli/src/commands/wallet/address.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { IronfishCommand } from '../../command'
66
import { RemoteFlags } from '../../flags'
77

88
export class AddressCommand extends IronfishCommand {
9-
static description = `Display your account address
9+
static description = `show the account's public address
1010
1111
The address for an account is the accounts public key, see more here: https://ironfish.network/docs/whitepaper/5_account`
1212

ironfish-cli/src/commands/wallet/assets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const MAX_ASSET_NAME_COLUMN_WIDTH = ASSET_NAME_LENGTH + 1
2323
const MIN_ASSET_NAME_COLUMN_WIDTH = ASSET_NAME_LENGTH / 2 + 1
2424

2525
export class AssetsCommand extends IronfishCommand {
26-
static description = `Display the wallet's assets`
26+
static description = `list the account's assets`
2727

2828
static args = {
2929
account: Args.string({

ironfish-cli/src/commands/wallet/balance.ts

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,23 @@ import * as ui from '../../ui'
99
import { renderAssetWithVerificationStatus } from '../../utils'
1010

1111
export class BalanceCommand extends IronfishCommand {
12-
static description =
13-
'Display the account balance\n\
14-
What is the difference between available to spend balance, and balance?\n\
15-
Available to spend balance is your coins from transactions that have been mined on blocks on your main chain.\n\
16-
Balance is your coins from all of your transactions, even if they are on forks or not yet included as part of a mined block.'
12+
static description = `show the account's balance for an asset
13+
14+
What is the difference between available to spend balance, and balance?\n\
15+
Available to spend balance is your coins from transactions that have been mined on blocks on your main chain.\n\
16+
Balance is your coins from all of your transactions, even if they are on forks or not yet included as part of a mined block.`
17+
18+
static examples = [
19+
{
20+
description: 'show the balance for $IRON asset',
21+
command: 'ironfish wallet:balance',
22+
},
23+
{
24+
description: 'show the balance for $IRON asset',
25+
command:
26+
'ironfish wallet:balance --assetId 51f33a2f14f92735e562dc658a5639279ddca3d5079a6d1242b2a588a9cbf44c',
27+
},
28+
]
1729

1830
static args = {
1931
account: Args.string({

ironfish-cli/src/commands/wallet/balances.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { compareAssets, renderAssetWithVerificationStatus } from '../../utils'
1111
type AssetBalancePairs = { asset: RpcAsset; balance: GetBalancesResponse['balances'][number] }
1212

1313
export class BalancesCommand extends IronfishCommand {
14-
static description = `Display the account's balances for all assets`
14+
static description = `show the account's balance for all assets`
1515

1616
static args = {
1717
account: Args.string({

ironfish-cli/src/commands/wallet/burn.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ import { selectFee } from '../../utils/fees'
2222
import { watchTransaction } from '../../utils/transaction'
2323

2424
export class Burn extends IronfishCommand {
25-
static description = 'Burn tokens and decrease supply for a given asset'
25+
static description = `create a transaction to burn tokens
26+
27+
This will destroy tokens and decrease supply for a given asset.`
2628

2729
static examples = [
2830
'$ ironfish wallet:burn --assetId 618c098d8d008c9f78f6155947014901a019d9ec17160dc0f0d1bb1c764b29b4 --amount 1000',

ironfish-cli/src/commands/wallet/create.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { RemoteFlags } from '../../flags'
88
import { inputPrompt } from '../../ui'
99

1010
export class CreateCommand extends IronfishCommand {
11-
static description = `Create a new account for sending and receiving coins`
11+
static description = `create a new account`
1212

1313
static args = {
1414
name: Args.string({

ironfish-cli/src/commands/wallet/delete.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { RemoteFlags } from '../../flags'
88
import { inputPrompt } from '../../ui'
99

1010
export class DeleteCommand extends IronfishCommand {
11-
static description = `Permanently delete an account`
11+
static description = `delete an account`
1212

1313
static args = {
1414
account: Args.string({

ironfish-cli/src/commands/wallet/export.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { EnumLanguageKeyFlag, JsonFlags, RemoteFlags } from '../../flags'
1010
import { confirmOrQuit } from '../../ui'
1111

1212
export class ExportCommand extends IronfishCommand {
13-
static description = `Export an account`
13+
static description = `export an account`
1414
static enableJsonFlag = true
1515

1616
static args = {

ironfish-cli/src/commands/wallet/import.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { importFile, importPipe, longPrompt } from '../../utils/input'
1515
import { Ledger } from '../../utils/ledger'
1616

1717
export class ImportCommand extends IronfishCommand {
18-
static description = `Import an account`
18+
static description = `import an account`
1919

2020
static args = {
2121
blob: Args.string({

0 commit comments

Comments
 (0)