Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure CLI az bicep decompile-params command gives inaccurate error message #14092

Open
martin-kirilov opened this issue May 13, 2024 · 0 comments

Comments

@martin-kirilov
Copy link

Bicep version
Bicep CLI version 0.27.1 (4b41cb6)

Describe the bug
When running the az bicep decompile-params command and the specified --bicep-file already exists, the warning message suggests using --force parameter, which doesn't exist for that command.

To Reproduce
Steps to reproduce the behavior:

When running the az bicep decompile-params command and the specified --bicep-file already exists, I get a warning message saying:

The output path "path/to/file.bicepparam" already exists. Use --force to overwrite the existing file.

However, az bicep decompile-params doesn't have a --force parameter.

Additional context
I would expect that the error message is accurate, or even better - to add the force parameter to that command. Then it would have the same behaviour as the bicep build-params command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants