V1alpha2DevWorkspaceTemplateSpecParentComponentsItemsPluginCommandsItemsExec

June 1, 2022 · View on GitHub

CLI Command executed in an existing component container

Properties

NameTypeDescriptionNotes
commandLineStringThe actual command-line string Special variables that can be used: - `PROJECTS_ROOT&#x60;: A path where projects sources are mounted as defined by container component&#39;s sourceMapping. - &#x60;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]
componentStringDescribes component to which given action relates[optional]
envList<V1alpha2DevWorkspaceTemplateSpecParentComponentsItemsPluginCommandsItemsExecEnv>Optional list of environment variables that have to be set before running the command[optional]
groupV1alpha2DevWorkspaceTemplateSpecParentComponentsItemsPluginCommandsItemsExecGroup[optional]
hotReloadCapableBooleanWhether 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]
labelStringOptional label that provides a label for this command to be used in Editor UI menus for example[optional]
workingDirStringWorking directory where the command should be executed Special variables that can be used: - `PROJECTS_ROOT&#x60;: A path where projects sources are mounted as defined by container component&#39;s sourceMapping. - &#x60;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]