What is Azure CLI?
Azure CLI is a command-line tool to create and manage resources. You interact with Azure by running commands in a terminal or writing scripts to automate tasks. Azure CLI interacts with the Azure Resource Manager (ARM) service, which is the management layer to interact with resources in your account.
Prerequisites
Fork and clone the repositories you wish to develop for:
1 | $ git clone https://github.com/necusjz/azure-cli.git |
Add or change the upstream:
1 | $ git remote add upstream https://github.com/Azure/azure-cli.git |
Install and setup azdev:
1 | $ pip install azdev |
List what extensions are currently visible to your development environment:
1 | $ azdev extension list -o table |
Publish extensions:
1 | $ azdev extension publish {} --storage-account {} --storage-container {} --storage-account-key {} |