CommandKitEnvironment
CommandKitEnvironment
Represents the execution environment for CommandKit commands.
Signature
class CommandKitEnvironment {
constructor(commandkit: CommandKit)
setContext(context: Context) => void;
getType() => CommandKitEnvironmentType;
variables: Map<string, any>
store: Collection<any, any>
}
constructor
method
(commandkit: CommandKit) => CommandKitEnvironment
Creates the commandkit execution environment.
setContext
method
(context: Context) => void
Set the context.
getType
method
Get the environment type.
variables
property
Map<string, any>
The variables store for this environment.
store
property
Collection<any, any>
The shared store for this environment