Microsoft Azure CLI Developer Tools

0.2.9 · active · verified Thu Apr 16

azdev is a developer tool designed to assist new and experienced contributors in creating and maintaining command modules and extensions for the Azure CLI. It provides utilities for setting up development environments, running static code checks, tests, and managing CLI-related artifacts. The current version is 0.2.9, with a frequent release cadence, often introducing minor updates and bug fixes.

Common errors

Warnings

Install

Quickstart

The `azdev` tool is primarily a command-line interface. This quickstart demonstrates how to install `azdev`, set up your local Azure CLI development environment by pointing to your cloned repositories, and run a basic linter check. Full development requires cloning the official Azure CLI and potentially `azure-cli-extensions` repositories.

# 1. Install azdev
pip install azdev

# 2. Fork and clone the Azure CLI and/or Azure CLI Extensions repositories
# For example, to a folder like '~/azure-cli' and '~/azure-cli-extensions'

# 3. Set up your development environment interactively
azdev setup --cli ~/azure-cli --repo ~/azure-cli-extensions

# 4. Run a basic linter check on a module (replace 'my-module' with an actual module or extension name)
# cd ~/azure-cli
azdev linter my-module

view raw JSON →