Skip to content

Commit

Permalink
Move the flags in baseFlags into the global category (#5180)
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-if authored Jul 26, 2024
1 parent 105a03e commit 88f16bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ironfish-cli/src/flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const VerboseFlag = Flags.boolean({
char: 'v',
default: false,
description: 'Set logging level to verbose',
helpGroup: 'GLOBAL',
})

export const ColorFlag = Flags.boolean({
Expand All @@ -45,13 +46,15 @@ export const ColorFlag = Flags.boolean({
export const ConfigFlag = Flags.string({
default: DEFAULT_CONFIG_NAME,
description: 'The name of the config file to use',
helpGroup: 'GLOBAL',
})

export const DataDirFlag = Flags.string({
char: 'd',
default: DEFAULT_DATA_DIR,
description: 'The path to the data dir',
env: 'IRONFISH_DATA_DIR',
helpGroup: 'GLOBAL',
})

export const RpcUseIpcFlag = Flags.boolean({
Expand Down

0 comments on commit 88f16bc

Please sign in to comment.