ExecContext class

The context in which the command is executed.

The contents of katana.yaml are passed to yaml and the arguments of the command are passed to args.

コマンドを実行する際のコンテキスト。

yamlkatana.yamlの内容が渡され、argsにコマンドの引数が渡されます。

Available extensions

Constructors

ExecContext({required Map yaml, required List<String> args, Map secrets = const {}, int index = 1})
The context in which the command is executed.

Properties

args List<String>
Arguments when the command is executed.
final
hashCode int
The hash code for this object.
no setterinherited
postActions List<PostAction>
Post action after execution.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secrets Map
The contents of katana_secrets.yaml will be included.
final
yaml Map
The contents of katana.yaml will be included.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestFirebaseDeploy(FirebaseDeployPostActionType type) → void

Available on ExecContext, provided by the FirebaseDeployPostActionExecContextExtensions extension

Deploy the entire package after the process is complete.
save() Future<void>
Save yaml to katana.yaml.
toString() String
A string representation of this object.
inherited

Operators

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