DockerCommand class Null safety

Inheritance

Constructors

DockerCommand(Logger logger)

Properties

aliases List<String>
Alternate names for this command.
read-only, inherited
allCommands List<EnDaftCommand>
All commands known to the runner
read-only, inherited
allFsPaths List<FileRequirement>
All TaskRequirements.files from this commands sequence
read-only, inherited
allTools List<String>
All tools from this commands sequence
read-only, inherited
argParser ArgParser
The argument parser for this command.
read-only, inherited
argResults ArgResults?
The parsed argument results for this command.
read-only, inherited
args ArgResults
read-only, inherited
category String
The command's category.
read-only, override
description String
A description of this command, included in usage.
final
globalFsPaths List<FileRequirement>
A sorted, distinct list of allFsPaths from allCommands
read-only, inherited
globalResults ArgResults?
The parsed global argument results.
read-only, inherited
globalTools List<String>
A sorted, distinct list of allTools from allCommands
read-only, inherited
hashCode int
The hash code for this object.
read-only, inherited
hidden bool
Whether or not this command should be hidden from help listings.
read-only, inherited
invocation String
A single-line template for how to invoke this command (e.g. "pub getpackage").
read-only, inherited
logger Logger
A logger instance
final, inherited
name String
The name of this command.
final
parent Command<bool>?
The command's parent command, if this is a subcommand.
read-only, inherited
rootDir String
Gets the normalized active root directory for the command
read-only, inherited
runner CommandRunner<bool>?
The command runner for this command.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
subcommands Map<String, Command<bool>>
An unmodifiable view of all sublevel commands of this command.
read-only, inherited
summary String
A short description of this command, included in parent's CommandRunner.usage.
read-only, inherited
takesArguments bool
Whether or not this command takes positional arguments in addition to options.
read-only, inherited
tools List<String>
The external tools (commands and exes) required by the command
final, inherited
usage String
Generates a string displaying usage information for this command.
read-only, inherited
usageFooter String?
An optional footer for usage.
read-only, inherited

Methods

addSubcommand(Command<bool> command) → void
Adds Command as a subcommand of this.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
printUsage() → void
Prints the usage information for this command.
inherited
revealTasks() List<TaskCommand>
Reveals all tasks potentially used by the command.
override
run() Future<bool>
Runs this command.
override
runSequence([Map<String, Map<String, dynamic>> args = const {}]) Future<bool>
Executes this commands sequence with the mapped args or empty args
inherited
runSequenceSame(ArgsProvider provider) Future<bool>
Executes this commands sequence invoking the provider for each task's args.
inherited
toString() String
A string representation of this object.
inherited
usageException(String message) → Never
Throws a UsageException with message.
inherited
useSequence(List<TaskCommand> sequence) → void
Sets the sequence of tasks run by this command
inherited

Operators

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