Customer feedback | az bicep publish | quoting error in example

Open Beginner friendly
#30,335 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
76/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Quiet
Domain
cli, documentation

Research direction

Start with the content source at latest/docs-ref-autogen/bicep.yml and locate the az bicep publish example. Correct the quoted --target value so --force is outside the double quotes, then verify the rendered Azure CLI bicep documentation shows the working command.

Written by the indexing model from the issue text.

Description

act-codegen-extensibility-squad Auto-Assign Azure Deployments bug Documentation Service Attention
Describe the bug

This issue is being moved from MicrosoftDocs/azure-docs-cli issue 4766.


Engineering request

Please fix the quoting error seen in this example. The parameter --force should be OUTSIDE the double quotes.
Image

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

Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
4d 7h
Merged PRs (30d)
49

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/azure-cli

All issues in Azure/azure-cli

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.