File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
claude/skills/azure-deployment-preflight/references Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -241,6 +241,7 @@ bicep build <bicep-file> [options]
241241
242242** Examples:**
243243
244+ ** Bash:**
244245``` bash
245246# Validate syntax (output to stdout, no file created)
246247bicep build main.bicep --stdout > /dev/null
@@ -252,6 +253,18 @@ bicep build main.bicep --outdir ./build
252253for f in * .bicep; do bicep build " $f " --stdout; done
253254```
254255
256+ ** PowerShell:**
257+ ``` powershell
258+ # Validate syntax (output to stdout, no file created)
259+ bicep build main.bicep --stdout | Out-Null
260+
261+ # Build to specific directory
262+ bicep build main.bicep --outdir ./build
263+
264+ # Validate multiple files
265+ Get-ChildItem -Filter *.bicep | ForEach-Object { bicep build $_.FullName --stdout }
266+ ```
267+
255268** Error Output Format:**
256269```
257270/path/to/file.bicep(22,51) : Error BCP064: Found unexpected tokens in interpolated expression.
@@ -372,8 +385,17 @@ targetScope = 'tenant'
372385| Bicep CLI | 0.4.0 | Latest | Best error messages |
373386
374387** Check versions:**
388+
389+ ** Bash:**
375390``` bash
376391az --version
377392azd version
378393bicep --version
379394```
395+
396+ ** PowerShell:**
397+ ``` powershell
398+ az --version
399+ azd version
400+ bicep --version
401+ ```
You can’t perform that action at this time.
0 commit comments