Browse Source

Update template syntax in custom command examples

Replaces double curly braces with the new template syntax `{%{{{...}}}%}` in the 'Terminal Command' and 'Condition' fields for custom commands documentation.
pull/24732/head
Yunus Emre Kalkan 2 weeks ago
parent
commit
1a5cd8aaa2
  1. 4
      docs/en/studio/custom-commands.md

4
docs/en/studio/custom-commands.md

@ -115,11 +115,11 @@ Here's an example command that builds a Docker image for Helm charts:
**Command Properties:**
- **Command Name:** `buildDockerImage`
- **Display Name:** `Build Docker Image`
- **Terminal Command:** `./build-image.ps1 -ProjectPath {{metadata.projectPath}} -ImageName {{metadata.imageName}}`
- **Terminal Command:** `./build-image.ps1 -ProjectPath {%{{{metadata.projectPath}}}%} -ImageName {%{{{metadata.imageName}}}%}`
- **Working Directory:** `etc/helm`
- **Trigger Targets:** Helm Charts Root, Helm Main Chart, Helm Sub Chart
- **Execution Targets:** Helm Main Chart, Helm Sub Chart
- **Condition:** `{{metadata.projectPath}}`
- **Condition:** `{%{{{metadata.projectPath}}}%}`
This command:
1. Appears in the context menu of Helm charts root and all chart nodes

Loading…
Cancel
Save