Command class

Command describes a step performed as part of the build pipeline.

Constructors

Command({Input<List<String>>? args, Input<String>? dir, Input<List<String>>? env, Input<String>? id, required Input<String> name, Input<List<String>>? waitFor})
Creates a new Command. args Command-line arguments used when executing this command. dir Working directory (relative to project source root) used when running this command. env Environment variables set before running this command. id Optional unique identifier for this command, used in wait_for to reference this command as a dependency. name Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to docker pull. waitFor The ID(s) of the command(s) that this command depends on.
const
Command.fromMap(Map<String, dynamic> map)
factory

Properties

args → Input<List<String>>?
Command-line arguments used when executing this command.
final
dir → Input<String>?
Working directory (relative to project source root) used when running this command.
final
env → Input<List<String>>?
Environment variables set before running this command.
final
hashCode → int
The hash code for this object.
no setterinherited
id → Input<String>?
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
final
name → Input<String>
Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to docker pull.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
waitFor → Input<List<String>>?
The ID(s) of the command(s) that this command depends on.
final

Methods

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

Operators

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