allOptions method

  1. @override
List<OptionDefinition> allOptions({
  1. bool onlyPersistent = false,
})
inherited

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,
];