Skip to content

Commit

Permalink
Move table flags into OUTPUT group (#5638)
Browse files Browse the repository at this point in the history
  • Loading branch information
NullSoldier authored Nov 12, 2024
1 parent ab377a4 commit 911cb69
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ironfish-cli/src/ui/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,22 @@ export interface TableOptions {
export const TableFlags = {
csv: Flags.boolean({
description: 'output is csv format [alias: --output=csv]',
helpGroup: 'OUTPUT',
}),
extended: Flags.boolean({
description: 'show extra columns',
helpGroup: 'OUTPUT',
}),
'no-header': Flags.boolean({
description: 'hide table header from output',
exclusive: ['csv'],
helpGroup: 'OUTPUT',
}),
output: Flags.string({
description: 'output in a more machine friendly format',
exclusive: ['csv'],
options: ['csv', 'json'],
helpGroup: 'OUTPUT',
}),
sort: Flags.string({
description: "property to sort by (prepend '-' for descending)",
Expand Down

0 comments on commit 911cb69

Please sign in to comment.