DEV Community

Kristen Womack
Kristen Womack

Posted on

azd CLI extension framework

A new way to customize the Azure Developer CLI (azd)

We recently added a new alpha feature to the Azure Developer CLI (azd) that lets you build and share your own CLI commands.

The idea is simple: sometimes you want azd to do something specific to your project or workflow, maybe scaffold a repo, run a custom validation, or integrate with a tool your team uses. Now you can do that with azd extensions.

Here’s a quick example to enable extensions and install one:

azd config set alpha.extensions on
azd extension install microsoft.azd.demo
azd extension list --installed
Enter fullscreen mode Exit fullscreen mode

You can also create your own:

# Install the azd developer extension
azd extension install microsoft.azd.extensions
Enter fullscreen mode Exit fullscreen mode
# Initialize a new extension project
azd x init
Enter fullscreen mode Exit fullscreen mode

The post walks through how the framework works, what you can build, and how to get started. If you’re into CLI tooling or open-source workflows, I’d love to hear what you think.

👉 Read the full post

Top comments (0)