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

RootCommand.cs: Added info about missing option --outdir. #14188

Merged
merged 3 commits into from
Jun 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/Bicep.Cli/Commands/RootCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,16 @@ Builds a .json file from a .bicepparam file.

Options:
--bicep-file <file> Verifies if the specified bicep file path matches the one provided in the params file using declaration
--outfile <file> Saves the param output json as the specified file path.
--stdout Prints the param and bicep json output to stdout.
--outdir <dir> Saves the output of building the parameter file only (.bicepparam) as json to the specified directory.
--outfile <file> Saves the output of building the parameter file only (.bicepparam) as json to the specified file path.
--stdout Prints the output of building both the parameter file (.bicepparam) and the template it points to (.bicep) as json to stdout.
--no-restore Builds the bicep file (referenced in using declaration) without restoring external modules.
--diagnostics-format <format> Sets the format with which diagnostics are displayed. Valid values are ( {string.Join(" | ", Enum.GetNames(typeof(DiagnosticsFormat)))} ).

Examples:
bicep build-params params.bicepparam
bicep build-params params.bicepparam --stdout
bicep build-params params.bicepparam --outdir dir1
bicep build-params params.bicepparam --outfile otherParams.json
bicep build-params params.bicepparam --no-restore
bicep build-params params.bicepparam --diagnostics-format sarif
Expand Down
Loading