You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/bicep/bicep-cli.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Bicep CLI commands and overview
3
3
description: Describes the commands that you can use in the Bicep CLI. These commands include building Azure Resource Manager templates from Bicep.
4
4
ms.topic: conceptual
5
-
ms.date: 07/18/2022
5
+
ms.date: 09/14/2022
6
6
---
7
7
8
8
# Bicep CLI commands
@@ -72,6 +72,16 @@ The command creates a file named _main.bicep_ in the same directory as _main.jso
72
72
73
73
For more information about using this command, see [Decompiling ARM template JSON to Bicep](decompile.md).
74
74
75
+
## generate-params
76
+
77
+
The `generate-params` command builds *.parameters.json* file from the given bicep file, updates if there is an existing parameters.json file.
78
+
79
+
```azurecli
80
+
az bicep generate-params --file main.bicep
81
+
```
82
+
83
+
The command creates a parameter file named _main.parameters.json_. The parameter file only contains the parameters without default values configured in the Bicep file.
84
+
75
85
## install
76
86
77
87
The `install` command adds the Bicep CLI to your local environment. For more information, see [Install Bicep tools](install.md). This command is only available through Azure CLI.
0 commit comments