Skip to main content
Version: Next

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>
}

constructor

method
(commandkit: CommandKit) => CommandKitEnvironment

Creates the commandkit execution environment.

setContext

method
(context: Context) => void

Set the context.

getType

Get the environment type.

variables

property
Map<string, any>

The variables store for this environment.