CmdID

CmdID / az

az validate

Check Azure CLI commands without running them. Azure CLI extensions reference

6 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

6 in the Azure CLI extensions reference
--command, -cOne or more az commands to check, each as a single argument.
--filePath of a Bash or PowerShell script file; every az command in it is checked.
--offlineNever download published command metadata; use cached metadata only.
--output-fileAlso write the result as JSON (UTF-8) to this file.
--script, -sThe text of a Bash or PowerShell script; every az command in it is checked.
--shellShell syntax of the input.