Azure / Azure/azure-cli

Customer feedback | az bicep publish | quoting error in example

Open
#30,335 3 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad Auto-Assign Azure Deployments bug Documentation Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

This issue is being moved from MicrosoftDocs/azure-docs-cli [issue 4766](https://github.com/MicrosoftDocs/azure-docs-cli/issues/4766).

**********************************
## Engineering request
Please fix the quoting error seen in this example. The parameter `--force` should be OUTSIDE the double quotes.
![Image](https://github.com/user-attachments/assets/f57bb755-260e-43ae-86cf-7dc8856a2b37)

### Customer feedback
**Type of issue**

Code doesn't work

**Feedback**

Code sample:
`az bicep publish --file {bicep_file} --target "br:{registry}/{module_path}:{tag} --force"`

`--force` shall be out side of ""

**Page URL**

https://learn.microsoft.com/en-us/cli/azure/bicep?view=azure-cli-latest

**Content source URL**

https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/bicep.yml

**Document Id**

60edc003-8f74-62af-e9fd-79efb5a77d9f

### Related command

az bicep publish

### Errors

.

### Issue script & Debug output

.

### Expected behavior

.

### Environment Summary

Azure CLI 2.66.0

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.