printArguments method
void
printArguments()
inherited
Implementation
void printArguments() {
final AnsiGrid grid = AnsiGrid.fromRows(
<List<Object?>>[
for (final BaseArgument<void> arg in <BaseArgument<void>>[
...arguments,
...cmderArguments
])
<Object?>[
' - ',
AnsiText(
arg.name,
foregroundColor: AnsiColor.dodgerBlue1,
style: const AnsiTextStyle(bold: true),
padding: AnsiPadding.only(right: 1),
),
arg.parse(argResults),
]
],
theme: const AnsiGridTheme(
border: AnsiBorder(type: AnsiBorderType.none),
keepSameWidth: false,
overrideTheme: true,
),
);
Trace.verbose(grid);
}