allOptions method
All the defined options of this command, depending on the passed flag.
Implementation
@override
List<OptionDefinition> allOptions({final bool onlyPersistent = false}) => [
...persistentOptions,
if (!onlyPersistent) ...options,
];