CompletionOption<V extends Object> enum

The options of the CompletionCommand. They are persistent, i.e. also valid after its install subcommand.

Inheritance
Implemented types
Available extensions

Values

shell → const CompletionOption<CompletionShell>

The shell to generate the script for. When not given, it is the shell the command is most likely run from, see detectCompletionShell.

const CompletionOption(EnumOption<CompletionShell>(enumParser: EnumParser(CompletionShell.values), argName: 'shell', fromCustom: _detectShell, helpText: 'The shell to generate the co…
command → const CompletionOption<String>

The command name to complete instead of the executable name, for a wrapper script of the executable.

const CompletionOption(StringOption(argName: 'command', helpText: 'Complete this command name instead, e.g. a wrapper script ' 'that forwards to the executable with the same comman…

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
option → ConfigOptionBase<V>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<CompletionOption<Object>>
A constant List of the values in this enum, in order of their declaration.