commonOptions top-level property
Implementation
final List<Option> commonOptions = [
Option(
name: '--format',
description: 'The output format (txt, xml, json, or md)',
args: [
Arg(
suggestions: [
FigSuggestion(name: 'txt'),
FigSuggestion(name: 'xml'),
FigSuggestion(name: 'json'),
FigSuggestion(name: 'md')
]
)
]
),
Option(
name: '--raw',
description: 'To output raw command list'
)
];