document and command samples for Mac/Linux users
- Dominant language
- PowerShell
- Stars
- 737
- Forks
- 436
- Avg merge
- 10d 7h
- Merged PRs (30d)
- 1
Description
## Description
ref : https://github.com/Azure/ResourceModules/blob/main/docs/wiki/The%20library%20-%20Module%20usage.md
Currently both sample for PowerUser and Azure CLI are for Windows Users
I'd like to change the sample part of `Azure CLI` to pure Mac/Linux usage:
From
```bash
az group create --name 'ExampleGroup' --location "Central US"
$inputObject = @(
'--name', 'ExampleDeployment',
'--resource-group', 'ExampleGroup',
'--template-file', "$home\ResourceModules\arm\Microsoft.KeyVault\vault\deploy.bicep",
'--parameters', 'storageAccountType=Standard_GRS',
)
az deployment group create @inputObject
```
to
```bash
az group create --name 'ExampleGroup' --location "Central US"
inputObject=(
'--name' 'ExampleDeployment'
'--resource-group' 'ExampleGroup'
'--template-file' "$home/ResourceModules/arm/Microsoft.KeyVault/vault/deploy.bicep"
'--parameters' 'storageAccountType=Standard_GRS'
)
az deployment group create ${inputObject[@]}
```
if you agree this idea, I can raise PR to update it
Contributor guide
Assessment
This issue has not been assessed yet.