CompletionCommand class

Inheritance

Constructors

CompletionCommand({CompletionFileWriter? createFile, String? longDescription, List<String>? aliases})
The command's inputs are intrinsic to what it does, so they are declared here rather than accepted from a caller: a CompletionCommand that could be built without them would have a run that reads handles the parser never registered.
CompletionCommand.preset({required CompletionFileWriter? createFile, String? longDescription})

Properties

accessors → List<AccessorListOption>?
finalinherited
aliases → List<String>?
finalinherited
conflicts → Map<String, List<String>>?
finalinherited
createFile → CompletionFileWriter
final
discretionaryPositionals → List<DiscretionaryPositional<Object?>>?
finalinherited
flags → List<Flag<Object?>>?
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
longDescription → String?
finalinherited
mandatoryPositionals → List<MandatoryPositional<Object?>>?
finalinherited
name → String
no setteroverride
options → List<Option<Object?>>?
finalinherited
pairedOptions → List<PairedOptionsDefinition>?
finalinherited
registryRecord ↔ RegistryRecord
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedOptions → List<SelectedOptions<Object>>?
finalinherited
shortDescription → String
no setteroverride
variadic → Variadic?
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(ParsedInputs inputs, List<String> args) → String?
override
toString() → String
A string representation of this object.
inherited

Operators

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