CmdID

CmdID / az / az bicep

az bicep format

Format a Bicep file. Azure CLI reference

9 options Its page in the Azure CLI reference

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

Options

9 in the Azure CLI reference
--file, -fThe path to the Bicep file to format in the file system.
--indent-kindSet indentation kind.
--indent-sizeNumber of spaces to indent with (Only valid with --indent-kind set to Space).
--insert-final-newlineInsert a final newline.
--newline-kindSet line ending characters.
--newlineSet newline char.
--outdirWhen set, saves the output file at the specified directory.
--outfileWhen set, saves the output as the specified file path.
--stdoutWhen set, prints all output to stdout instead of corresponding files.