V1alpha2DevWorkspaceTemplateSpecCommandsItemsExec
June 1, 2022 · View on GitHub
CLI Command executed in an existing component container
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| commandLine | String | The actual command-line string Special variables that can be used: - `PROJECTS_ROOT`: A path where projects sources are mounted as defined by container component's sourceMapping. - `PROJECT_SOURCE`: A path to a project source ($PROJECTS_ROOT/<project-name>). If there are multiple projects, this will point to the directory of the first one. | |
| component | String | Describes component to which given action relates | |
| env | List<V1alpha2DevWorkspaceTemplateSpecCommandsItemsExecEnv> | Optional list of environment variables that have to be set before running the command | [optional] |
| group | V1alpha2DevWorkspaceTemplateSpecCommandsItemsExecGroup | [optional] | |
| hotReloadCapable | Boolean | Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own. Default value is `false` | [optional] |
| label | String | Optional label that provides a label for this command to be used in Editor UI menus for example | [optional] |
| workingDir | String | Working directory where the command should be executed Special variables that can be used: - `PROJECTS_ROOT`: A path where projects sources are mounted as defined by container component's sourceMapping. - `PROJECT_SOURCE`: A path to a project source ($PROJECTS_ROOT/<project-name>). If there are multiple projects, this will point to the directory of the first one. | [optional] |