ScaffoldComponentCommand class final
Creates a component that encapsulates one terminice call.
The component is a plain class rather than a command: it owns one question or one piece of progress, and a command awaits it.
- Inheritance
-
- Object
- Command
- GroupCommand
- ScaffoldComponentCommand
Constructors
- ScaffoldComponentCommand(Directory parentDirectory, {SourceFormatter? sourceFormatter})
Properties
-
accessors
→ List<
AccessorListOption> ? -
finalinherited
-
aliases
→ List<
String> ? -
finalinherited
-
commands
→ List<
Command> -
finalinherited
-
conflicts
→ Map<
String, List< ?String> > -
finalinherited
-
defaultSubCommandPath
→ List<
String> ? -
finalinherited
-
discretionaryPositionals
→ List<
DiscretionaryPositional< ?Object?> > -
finalinherited
-
flags
→ List<
Flag< ?Object?> > -
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- help ↔ GroupHelp?
-
The help machinery the executor assigns before it runs this group.
getter/setter pairinherited
-
inheritedFlags
→ List<
Flag< ?Object?> > -
finalinherited
-
inheritedOptions
→ List<
Option< ?Object?> > -
finalinherited
- longDescription → String?
-
finalinherited
-
mandatoryPositionals
→ List<
MandatoryPositional< ?Object?> > -
finalinherited
- name → String
-
no setteroverride
-
options
→ List<
Option< ?Object?> > -
finalinherited
-
pairedOptions
→ List<
PairedOptionsDefinition> ? -
finalinherited
- 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) → FutureOr<String?> -
inherited
-
runChildCommand(
List< String> path, ParsedInputs inputs, List<String> args) → FutureOr<String?> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited