Skip to content

Commit be4afa5

Browse files
authored
Delete required:false in flags which is default (#5316)
This does nothing as all flags are by default required: false.
1 parent e3f7083 commit be4afa5

File tree

12 files changed

+0
-19
lines changed

12 files changed

+0
-19
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,9 @@ Balance is your coins from all of your transactions, even if they are on forks o
4242
description: 'Also show unconfirmed balance',
4343
}),
4444
confirmations: Flags.integer({
45-
required: false,
4645
description: 'Minimum number of blocks confirmations for a transaction',
4746
}),
4847
assetId: Flags.string({
49-
required: false,
5048
description: 'Asset identifier to check the balance for',
5149
}),
5250
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export class BalancesCommand extends IronfishCommand {
2525
description: `Also show unconfirmed balance, head hash, and head sequence`,
2626
}),
2727
confirmations: Flags.integer({
28-
required: false,
2928
description: 'Minimum number of blocks confirmations for a transaction',
3029
}),
3130
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ This will destroy tokens and decrease supply for a given asset.`
6262
confirmations: Flags.integer({
6363
description:
6464
'Minimum number of block confirmations needed to include a note. Set to 0 to include all blocks.',
65-
required: false,
6665
}),
6766
rawTransaction: Flags.boolean({
6867
default: false,

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,10 @@ export class ExportCommand extends IronfishCommand {
3131
}),
3232
language: EnumLanguageKeyFlag({
3333
description: 'Language to use for mnemonic export',
34-
required: false,
3534
choices: LanguageUtils.LANGUAGE_KEYS,
3635
}),
3736
path: Flags.string({
3837
description: 'The path to export the account to',
39-
required: false,
4038
}),
4139
viewonly: Flags.boolean({
4240
default: false,

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,12 @@ This will create tokens and increase supply for a given asset.`
6060
}),
6161
assetId: Flags.string({
6262
description: 'Identifier for the asset',
63-
required: false,
6463
}),
6564
metadata: Flags.string({
6665
description: 'Metadata for the asset',
67-
required: false,
6866
}),
6967
name: Flags.string({
7068
description: 'Name for the asset',
71-
required: false,
7269
}),
7370
confirm: Flags.boolean({
7471
default: false,
@@ -77,7 +74,6 @@ This will create tokens and increase supply for a given asset.`
7774
confirmations: Flags.integer({
7875
description:
7976
'Minimum number of block confirmations needed to include a note. Set to 0 to include all blocks.',
80-
required: false,
8177
}),
8278
rawTransaction: Flags.boolean({
8379
default: false,
@@ -99,7 +95,6 @@ This will create tokens and increase supply for a given asset.`
9995
}),
10096
transferOwnershipTo: Flags.string({
10197
description: 'The public address of the account to transfer ownership of this asset to.',
102-
required: false,
10398
}),
10499
unsignedTransaction: Flags.boolean({
105100
default: false,

ironfish-cli/src/commands/wallet/multisig/commitment/aggregate.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export class CreateSigningPackage extends IronfishCommand {
1616
account: Flags.string({
1717
char: 'a',
1818
description: 'Name of the account to use when creating the signing package',
19-
required: false,
2019
}),
2120
unsignedTransaction: Flags.string({
2221
char: 'u',

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export class CreateSigningCommitmentCommand extends IronfishCommand {
1818
char: 'a',
1919
description:
2020
'Name of the account to use for generating the commitment, must be a multisig participant account',
21-
required: false,
2221
}),
2322
unsignedTransaction: Flags.string({
2423
char: 'u',

ironfish-cli/src/commands/wallet/multisig/signature/aggregate.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export class MultisigSign extends IronfishCommand {
1717
account: Flags.string({
1818
char: 'a',
1919
description: 'Name of the account to use when aggregating signature shares',
20-
required: false,
2120
}),
2221
signingPackage: Flags.string({
2322
char: 'p',

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ export class CreateSignatureShareCommand extends IronfishCommand {
1818
account: Flags.string({
1919
char: 'a',
2020
description: 'Name of the account from which the signature share will be created',
21-
required: false,
2221
}),
2322
signingPackage: Flags.string({
2423
char: 's',
2524
description: 'The signing package for which the signature share will be created',
26-
required: false,
2725
}),
2826
confirm: Flags.boolean({
2927
default: false,

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ export class Send extends IronfishCommand {
8080
confirmations: Flags.integer({
8181
description:
8282
'Minimum number of block confirmations needed to include a note. Set to 0 to include all blocks.',
83-
required: false,
8483
}),
8584
assetId: HexFlag({
8685
char: 'i',

0 commit comments

Comments
 (0)