Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 17, 2025

Implementation Plan: Add azd config options command

  • Explore repository structure and understand config system
  • Define structured list of all config settings with descriptions
  • Implement azd config options command action
  • Add tests for the new command
  • Update help text and documentation
  • Run linter, formatter, and spell checker
  • Test the implementation manually
  • Request code review
  • Address code review feedback
  • Add environment variable information
  • Add current value display
  • Fix figspec snapshot test
  • Address bot review suggestions
  • Add help examples
  • Improve output format for readability
  • Add integration tests for action
  • Fix formatting issues

Changes Made

  • Created resources/config_options.yaml with all config settings
  • Created pkg/config/config_options.go to load and expose config options
  • Added azd config options command with JSON and table output formats
  • Added unit tests in pkg/config/config_options_test.go
  • Added integration tests in cmd/config_options_test.go
  • Updated snapshot tests for command help text
  • Fixed log.Panicf formatting
  • Added environment variable information (EnvVar field)
  • Improved error handling
  • Updated figspec test snapshots
  • Added help examples
  • Changed default output format to readable list format (similar to list-alpha)
  • Fixed gofmt formatting issues in test file
  • Table format still available with -o table

Command Output

$ azd config options

Key: defaults.subscription
Description: Default Azure subscription ID to use for operations.
Example: 00000000-0000-0000-0000-000000000000

Key: alpha.all
Description: Enable or disable all alpha features at once.
Allowed Values: on, off
Environment Variable: AZD_ALPHA_ENABLE_ALL
Original prompt

This section details on the original issue you should resolve

<issue_title>Add command to list all possible azd config settings</issue_title>
<issue_description>## Suggestion: Add a command to improve config discoverability

Background:
Currently, azd config list only displays the settings that are already set by the user, making it hard to discover all the configuration options that azd supports. As more settings are added, keeping track of them via documentation and release notes is not a great developer experience for CLI users.

Proposal:
Introduce a new subcommand for azd config (e.g., azd config options or azd config available-settings) that lists all possible configuration settings that CAN be set with azd. This should include descriptions, possible values, and (if feasible) defaults. The output should not depend on what is currently set in the user's environment, but instead give a comprehensive view of what can be customized.

Technical Notes:
To make this maintainable, we'd need to maintain a structured list (map, array, etc.) of supported config keys within config.go and relevant areas in the codebase. This maintenance effort would yield significant developer experience benefits as discoverability and self-service docs improve.

Benefits:

  • Easier configuration for new and existing users.
  • Reduces reliance on external docs and release notes.
  • Supports better automation and scripting by exposing available config surface.
  • Aligns with best practices seen in other CLIs for config visibility/discoverability.

Labels:

  • cli
  • feature
  • command
  • config

Feel free to refine the command name and implementation details as appropriate.</issue_description>

<agent_instructions>Keep a consistent design output already defined in the project. Use DRY principles, do not over reach on implementation, keep as simple as possible writing a little code as needed to implement the needed feature. Be sure to add needed tests.</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits December 17, 2025 18:02
Co-authored-by: spboyer <7681382+spboyer@users.noreply.github.com>
Co-authored-by: spboyer <7681382+spboyer@users.noreply.github.com>
Co-authored-by: spboyer <7681382+spboyer@users.noreply.github.com>
Copilot AI changed the title [WIP] Add command to list all possible azd config settings Add azd config options command for config discoverability Dec 17, 2025
Copilot AI requested a review from spboyer December 17, 2025 18:11
@spboyer
Copy link
Member

spboyer commented Dec 17, 2025

@copilot does this also encompass the possible ENV values that azd uses for configs and feature flags?

Co-authored-by: spboyer <7681382+spboyer@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Dec 17, 2025

@copilot does this also encompass the possible ENV values that azd uses for configs and feature flags?

Yes! I've updated the implementation to include environment variable information. The output now shows:

  1. Environment variables for config settings: All alpha features now display their corresponding AZD_ALPHA_ENABLE_* environment variable names
  2. Environment-only settings: Added AZD_CONFIG_DIR as an example of settings that can only be set via environment variables

The command output now includes an "Environment Variable" column in table format, and the EnvVar field in JSON output. Here's what it looks like:

Key                           Environment Variable
alpha.all                     AZD_ALPHA_ENABLE_ALL
alpha.aks.helm                AZD_ALPHA_ENABLE_AKS_HELM
(env) AZD_CONFIG_DIR          [env-only setting]

Commit: f20cebb

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: /tmp/azd-updated /tmp/azd-updated config options -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2201499664/b775/importcfg -embedcfg /tmp/go-build2201499664/b775/embedcfg -pack rev-�� mmon/ascii.go mmon/headermap.ggithub.com/tmc/langchaingo/memory x_amd64/cgo (dns block)
    • Triggering command: /tmp/azd-updated /tmp/azd-updated config options -o json -c=4 -nolocalimports -importcfg /tmp/go-build2201499664/b796/importcfg -pack /home/REDACTED/go/pkg/mod/github.com/cenkalti/backoff/v5@v5.0.3/backoff.go /home/REDACTED/go/pkg/mod/github.com/cenkalti/backoff/v5@v5.0.3/error.go rev-�� go go x_amd64/compile (dns block)
    • Triggering command: /tmp/azd-updated /tmp/azd-updated telemetry upload -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2201499664/b795/importcfg -pack /home/REDACTED/go/pkg/mod/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@v1.38.0/internal/retry/retry.go 64/pkg/tool/linu-trimpath rev-�� -0.2025040420392-p -0.2025040420392github.com/Masterminds/sprig/v3 x_amd64/compile (dns block)
  • westus-0.in.applicationinsights.azure.com
    • Triggering command: /tmp/azd-updated /tmp/azd-updated telemetry upload -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2201499664/b795/importcfg -pack /home/REDACTED/go/pkg/mod/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@v1.38.0/internal/retry/retry.go 64/pkg/tool/linu-trimpath rev-�� -0.2025040420392-p -0.2025040420392github.com/Masterminds/sprig/v3 x_amd64/compile (dns block)
    • Triggering command: /tmp/azd-updated /tmp/azd-updated telemetry upload -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2201499664/b806/importcfg -pack /home/REDACTED/go/pkg/mod/go.opentelemetry.io/otel/exporters/stdout/stdouttrace@v1.38.0/config.go /home/REDACTED/go/pkg/mod/go.opentelemetry.io/otel/exporters/stdout/stdouttrace@v1.38.0/doc.go rev-�� lp.go (dns block)
    • Triggering command: /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd telemetry upload -tests /tmp/go-build3109514698/b123/vet.cfg g_.a 1nLpd9ih2 x_amd64/vet -p ckenv -lang=go1.25 x_amd64/vet ortc�� roQn5bc2I .cfg x_amd64/vet -c AD/microsoft-aut-test.testlogfile=/tmp/go-build3109514698/b001/testlog.txt /tmp/go-build220-test.paniconexit0 x_amd64/vet (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

@spboyer
Copy link
Member

spboyer commented Dec 17, 2025

@copilot show what the command is and the help looks like for the command.

Copy link
Contributor Author

Copilot AI commented Dec 17, 2025

@copilot show what the command is and the help looks like for the command.

Command Usage

azd config options

Help Output

$ azd config options --help

List all available configuration settings.

Usage
  azd config options [flags]

Global Flags
    -C, --cwd string : Sets the current working directory.
        --debug      : Enables debugging and diagnostics logging.
        --docs       : Opens the documentation for azd config options in your web browser.
    -h, --help       : Gets help for options.
        --no-prompt  : Accepts the default value instead of prompting, or it fails if there is no default.

The command appears in azd config --help as:

Available Commands
  ...
  options   : List all available configuration settings.
  ...

Output Examples

Table format (default):

$ azd config options

Key                           Description                                   Type      Allowed Values  Environment Variable
defaults.subscription         Default Azure subscription ID...              string                    
defaults.location             Default Azure location/region...              string                    
alpha.all                     Enable or disable all alpha features...       string    on, off         AZD_ALPHA_ENABLE_ALL
alpha.aks.helm                Enable Helm support for AKS deployments       string    on, off         AZD_ALPHA_ENABLE_AKS_HELM
(env) AZD_CONFIG_DIR          Override the default config directory         envvar                                            /path/to/config

JSON format:

$ azd config options -o json | jq '.[0:2]'
[
  {
    "Key": "defaults.subscription",
    "Description": "Default Azure subscription ID to use for operations.",
    "Type": "string",
    "AllowedValues": null,
    "Example": "00000000-0000-0000-0000-000000000000",
    "EnvVar": ""
  },
  {
    "Key": "alpha.all",
    "Description": "Enable or disable all alpha features at once.",
    "Type": "string",
    "AllowedValues": ["on", "off"],
    "EnvVar": "AZD_ALPHA_ENABLE_ALL"
  }
]

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: ./azd ./azd config options -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2047151046/b800/importcfg -pack /home/REDACTED/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway/v2@v2.27.2/internal/httprule/compile.go /home/REDACTED/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway/v2@v2.27.2/internal/httprule/parse.go conf�� ontainerservice/armcontainerservice/v2@v2.4.0/agentpools_client.go ontainerservice/armcontainerservice/v2@v2.4.0/build.go x_amd64/compile (dns block)
    • Triggering command: ./azd ./azd config --help -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2047151046/b803/importcfg raph /home/REDACTED/go/pkg/mod/google.golang.org/grpc@v1.76.0/health/grpc_health_v1/health.pb.go /home/REDACTED/go/pkg/mod/google.golang.org/grpc@v1.76.0/health/grpc_health_v1/health_grpc.pb.go ortc�� esources/armdeploymentstacks@v1.0.1/build.go esources/armdeploymentstacks@v1.0.1/client.go x_amd64/compile (dns block)
    • Triggering command: ./azd ./azd config options --help go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2047151046/b802/importcfg -pack /home/REDACTED/go/pkg/mod/google.golang.org/genproto/googleapis/api@v0.0.0-20250922171735-9219d122eba9/httpbody/httpbody.pb.go u/13/cc1 conf�� eyvault/armkeyvault@v1.5.0/build.go eyvault/armkeyvault@v1.5.0/client_factory.go x_amd64/compile (dns block)
  • westus-0.in.applicationinsights.azure.com
    • Triggering command: /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd telemetry upload -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2047151046/b804/importcfg -pack /home/REDACTED/go/pkg/mod/google.golang.org/protobuf@v1.36.10/types/known/fieldmaskpb/field_mask.pb.go u/13/cc1 64/s�� esources/armresources@v1.2.0/build.go esources/armresources@v1.2.0/client.go x_amd64/compile (dns block)
    • Triggering command: /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd telemetry upload -D GOARCH_amd64 -D GOAMD64_v1 -o /tmp/go-build2047151046/b818/cpu_gc_x86.o /home/REDACTED/go/pkg/mod/golang.org/x/sys@v0.38.0/cpu/cpu_gc_x86.s (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

@spboyer
Copy link
Member

spboyer commented Dec 17, 2025

@copilot in the output of the command, the table, can we also show the current value that is set.

Co-authored-by: spboyer <7681382+spboyer@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Dec 17, 2025

@copilot in the output of the command, the table, can we also show the current value that is set.

Added! The table now includes a "Current Value" column that shows the currently configured value for each setting.

Example output with some values set:

Key                           Description                                   Type      Current Value  Allowed Values  Environment Variable
defaults.subscription         Default Azure subscription ID...              string                                   
defaults.location             Default Azure location/region...              string    westus2                         
alpha.all                     Enable or disable all alpha features...       string                   on, off         AZD_ALPHA_ENABLE_ALL
alpha.llm                     Enables the use of LLMs in the CLI            string    on             on, off         AZD_ALPHA_ENABLE_LLM
alpha.language.custom         Enables support for custom language           string                   on, off         AZD_ALPHA_ENABLE_LANGUAGE_CUSTOM

The column displays:

  • The actual value for settings that are configured
  • Empty for unset settings
  • <object> or <array> for complex types

Commit: 6accc32

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: /tmp/azd-with-current /tmp/azd-with-current config options -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2534397973/b767/importcfg -pack /home/REDACTED/work/azure-dev/azure-dev/cli/azd/pkg/tools/github/github.go x_amd64/compile conf�� ache/go/1.25.5/x-p BUVV/7TNaHh7521Igithub.com/azure/azure-dev/cli/azd/pkg/azdext 6/x64/bin/as pull.rebase ared (dns block)
    • Triggering command: /tmp/azd-with-current /tmp/azd-with-current config set defaults.location westus2 -c=4 -nolocalimports -importcfg /tmp/go-build2534397973/b733/importcfg -pack /home/REDACTED/work/azure-dev/azure-dev/cli/azd/pkg/cosmosdb/cosmosdb.go o_main.o conf�� .3.2/doc.go .3.2/env.go x_amd64/compile (dns block)
    • Triggering command: /tmp/azd-with-current /tmp/azd-with-current telemetry upload -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2534397973/b790/importcfg -pack /home/REDACTED/go/pkg/mod/go.opentelemetry.io/proto/otlp@v1.8.0/resource/v1/resource.pb.go o_main.o conf�� pimanagement/armapimanagement@v1.1.1/api_client.go pimanagement/armapimanagement@v1.1.1/apidiagnostic_client.go x_amd64/compile (dns block)
  • westus-0.in.applicationinsights.azure.com
    • Triggering command: /tmp/azd-with-current /tmp/azd-with-current telemetry upload -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2534397973/b790/importcfg -pack /home/REDACTED/go/pkg/mod/go.opentelemetry.io/proto/otlp@v1.8.0/resource/v1/resource.pb.go o_main.o conf�� pimanagement/armapimanagement@v1.1.1/api_client.go pimanagement/armapimanagement@v1.1.1/apidiagnostic_client.go x_amd64/compile (dns block)
    • Triggering command: /tmp/azd-with-current /tmp/azd-with-current telemetry upload -D GOARCH_amd64 -D GOAMD64_v1 -o /tmp/go-build2534397973/b824/equal_fold_amd64.o ldpkBk5-wOdA (dns block)
    • Triggering command: /tmp/azd-with-current /tmp/azd-with-current telemetry upload -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2534397973/b848/importcfg -pack /home/REDACTED/go/pkg/mod/github.com/microsoft/azure-devops-go-api/azuredevops/v7@v7.1.0/policy/client.go /home/REDACTED/go/pkg/mod/github.com/microsoft/azure-devops-go-api/azuredevops/v7@v7.1.0/policy/models.go remo�� oji.go ysCj/9JwFxLieBktgithub.com/azure/azure-dev/cli/azd/pkg/tools x_amd64/compile (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

@spboyer spboyer marked this pull request as ready for review December 17, 2025 20:09
Copilot AI review requested due to automatic review settings December 17, 2025 20:09
Copilot AI requested a review from vhvb1989 January 2, 2026 23:54
@vhvb1989
Copy link
Member

vhvb1989 commented Jan 2, 2026

/azp run azure-dev - cli

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

})
}

columns := []output.Column{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Real hard to read when wrapped:

Image

Copy link
Collaborator

@SophCarp SophCarp Jan 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was about to leave the same comment. If all of these columns are important, I would recommend making the display a JSON format by default, rather than a table.

If we want a table, I think the columns should just be "Variable", "Current Value", "Allowed Values". Add a link to the docs for the description and examples, or add a tag --verbose for full content.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JSON is not very readable, linking to docs is meh experience. User could just expand their window :-)

Copy link
Contributor

@JeffreyCA JeffreyCA Jan 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The GUIDs in the Current Value and Example columns (defaults.subscription key) are making those columns extra wide and hard to read when wrapped. On my typical VS Code setup (left sidebar, window fully maximized), the output still wraps:

image

I feel that Current Value would make most sense to omit, since users can use azd config get? We don't include the current value in azd config options --output json either. Otherwise, JSON feels more readable to me.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The way we format azd config list-alpha feels more readable to me as well:

$ azd config list-alpha
Name: aca.persistDomains
Description: Do not change custom domains when deploying Azure Container Apps.
Status: Off

Name: aca.persistIngressSessionAffinity
Description: Do not change Ingress Session Affinity when deploying Azure Container Apps.
Status: Off

Name: aks.helm
Description: Enable Helm support for AKS deployments.
Status: Off

Name: aks.kustomize
Description: Enable Kustomize support for AKS deployments.
Status: Off

Name: azd.operations
Description: Extends provisioning providers with azd operations.
Status: Off

Name: deployment.stacks
Description: Enables Azure deployment stacks for ARM/Bicep based deployments.
Status: On

Name: language.custom
Description: Enables support for services to use custom language.
Status: Off

Name: llm
Description: Enables the use of LLMs in the CLI.
Status: Off

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed the default output format to a readable list format similar to azd config list-alpha. The new format:

  • Shows one option per section with key/value pairs
  • Much easier to read and doesn't wrap
  • Removed Current Value from default output (users can use azd config get)
  • Table format still available with -o table

New default output:

Key: defaults.subscription
Description: Default Azure subscription ID to use for operations.
Example: 00000000-0000-0000-0000-000000000000

Key: alpha.all
Description: Enable or disable all alpha features at once.
Allowed Values: on, off
Environment Variable: AZD_ALPHA_ENABLE_ALL

Commits: 9766066, 444dbef

Copy link
Member

@spboyer spboyer Jan 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about reducing detail in the list view and adding a show command for more info on a single command?

$ azd config options

Key                          Type      Current Value   Environment Variable
defaults.subscription        string    XXXX-XXXX-12313                              
defaults.location            string    eastus2                         
alpha.all                    string                    AZD_ALPHA_ENABLE_ALL
alpha.llm                    string    on              AZD_ALPHA_ENABLE_LLM
alpha.language.custom        string    off             AZD_ALPHA_ENABLE_LANGUAGE_CUSTOM
(env) AZD_CONFIG_DIR         envvar
$azd config show alpha.all

Key: alpha.all
Description: Enable or disable all alpha features at once.
Allowed Values: on, off
Environment Variable: AZD_ALPHA_ENABLE_ALL

@SophCarp thoughts?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have azd config show:
image
image

azd config show shows your current configurations (which honestly I think should be azd config list but that's beside the point).

I guess you could do azd config options list and azd config options show to get the table and then the details of one specific one, but that also means 3 nouns before the verb rather than 2. We do have some of those already ( ex: azd template source list ) but not too may. Doing this would also make command be a verb which we try to maintain.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

show returns everything in JSON, does not take a parameter for a specific one nor does it offer a format like az i.e. az group list -o table

No, I am not in favor of adding an addition verb here either.

Copy link
Contributor

@JeffreyCA JeffreyCA Jan 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The latest iteration seems good to me. There's some overlap between command descriptions if we want to differentiate between get, options and show a bit more:

  get       	: Gets a configuration.
  list-alpha	: Display the list of available features in alpha stage.
  options   	: List all available configuration settings.
  show      	: Show all the configuration values.

@SophCarp
Copy link
Collaborator

SophCarp commented Jan 7, 2026

azd config options -h just shows content for azd config -h:
image

@spboyer
Copy link
Member

spboyer commented Jan 8, 2026

azd config options -h just shows content for azd config -h: image

@copilot address the help properly for azd config options

- Add getCmdConfigOptionsHelpFooter function with usage examples
- Include examples for table format, JSON format, and setting config values
- Update usage test snapshots to include new help examples
- Improves discoverability and user experience for the new command

Co-authored-by: spboyer <7681382+spboyer@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 8, 2026

azd config options -h just shows content for azd config -h: <img alt="image" width="1098" height="578" src="https://private-user-images.githubusercontent.com/103968777/533085610-e18f3e12-8153-49...

Fixed! Added proper help examples for azd config options command.

The help now includes:

  • Example for JSON format output
  • Example for table format output
  • Example showing how to view options and then set a value
$ azd config options --help

Examples
  List all available configuration settings in JSON format
    azd config options -o json

  List all available configuration settings in table format
    azd config options

  View a setting and set it
    azd config options
    azd config set <key> <value>

Commit: 2baf73e

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: ./azd ./azd config options -h go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2295738546/b765/importcfg -pack /home/REDACTED/work/azure-dev/azure-dev/cli/azd/pkg/github/remote.go x_amd64/compile ortc�� 5738546/b115/_pk-p 64/src/crypto/hkgolang.org/x/text/feature/plural ache/go/1.25.5/x-lang=go1.24 (dns block)
    • Triggering command: ./azd ./azd config -h -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2295738546/b789/importcfg -pack /home/REDACTED/go/pkg/mod/go.opentelemetry.io/proto/otlp@v1.8.0/common/v1/common.pb.go 10.o conf�� .3.2/doc.go .3.2/env.go x_amd64/compile (dns block)
    • Triggering command: ./azd ./azd config options --help -symabis /tmp/go-build2295738546/b822/symabis -c=4 -nolocalimports -importcfg /tmp/go-build2295738546/b822/importcfg -pack -asmhdr conf�� (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI and others added 2 commits January 12, 2026 21:03
- Change default format from table to list format similar to list-alpha
- Table format is still available with -o table flag
- List format is much more readable and doesn't wrap on normal terminals
- Remove Current Value column from default output (users can use azd config get)
- Update help examples to reflect new default format
- Update usage test snapshots

Addresses feedback about table readability issues from @JeffreyCA and @SophCarp

Co-authored-by: spboyer <7681382+spboyer@users.noreply.github.com>
- Add tests for JSON format output
- Add tests for table format output
- Add tests for default list format output
- Tests verify expected config options are present
- Tests verify output contains correct fields

Addresses test coverage feedback from @spboyer

Co-authored-by: spboyer <7681382+spboyer@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 12, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: ./azd ./azd config list-alpha -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build673354903/b766/importcfg -pack /home/REDACTED/work/azure-dev/azure-dev/cli/azd/pkg/tools/git/git.go x_amd64/compile conf�� _.a credential.userngolang.org/x/text/message/catalog ache/go/1.25.5/x-lang=go1.24 (dns block)
    • Triggering command: /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd telemetry upload -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build673354903/b764/importcfg -pack /home/REDACTED/work/azure-dev/azure-dev/cli/azd/pkg/templates/awesome_source.go /home/REDACTED/work/azure-dev/azure-dev/cli/azd/pkg/templates/file_source.go conf�� 354903/b114/_pkg-p 2BNZ_EJMs 64/pkg/tool/linu-lang=go1.17 (dns block)
    • Triggering command: ./azd ./azd config options -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build673354903/b798/importcfg -pack /home/REDACTED/go/pkg/mod/go.opentelemetry.io/proto/otlp@v1.8.0/collector/trace/v1/trace_service.pb.go /home/REDACTED/go/pkg/mod/go.opentelemetry.io/proto/otlp@v1.8.0/collector/trace/v1/trace_service.pb.gw.go rtcf�� 27/doc.go 27/helpers.go x_amd64/compile (dns block)
  • westus-0.in.applicationinsights.azure.com
    • Triggering command: /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd telemetry upload -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build673354903/b764/importcfg -pack /home/REDACTED/work/azure-dev/azure-dev/cli/azd/pkg/templates/awesome_source.go /home/REDACTED/work/azure-dev/azure-dev/cli/azd/pkg/templates/file_source.go conf�� 354903/b114/_pkg-p 2BNZ_EJMs 64/pkg/tool/linu-lang=go1.17 (dns block)
    • Triggering command: /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd telemetry upload -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build673354903/b721/importcfg -pack /home/REDACTED/work/azure-dev/azure-dev/cli/azd/pkg/project/ai_helper.go /home/REDACTED/work/azure-dev/azure-dev/cli/azd/pkg/project/artifact.go ache�� .go rary.go x_amd64/compile (dns block)
    • Triggering command: /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd telemetry upload /home/REDACTED/work/azure-dev/azure-dev/cli/azd/pkg/templates/file_source.go conf�� 354903/b114/_pkg-p 2BNZ_EJMs 64/pkg/tool/linu-lang=go1.17 (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

@JeffreyCA
Copy link
Contributor

@copilot Can you check the formatting:

Error: /home/runner/work/azure-dev/azure-dev/cli/azd/cmd/config_options_test.go:22:1: File is not properly formatted (gofmt)

And also make sure all snapshots are up to date by running this from cli/azd:

UPDATE_SNAPSHOTS=true go test ./cmd -run 'TestFigSpec|TestUsage'"

- Remove trailing whitespace and fix indentation
- All formatting issues resolved

Addresses feedback from @JeffreyCA

Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 13, 2026

@copilot Can you check the formatting:

Error: /home/runner/work/azure-dev/azure-dev/cli/azd/cmd/config_options_test.go:22:1: File is not properly formatted (gofmt)
...

Fixed!

  • Ran gofmt -s -w on the test file to fix formatting (removed trailing whitespace)
  • Verified snapshots are up to date with UPDATE_SNAPSHOTS=true go test ./cmd -run 'TestFigSpec|TestUsage'
  • All tests passing

Commit: d049097

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd extension source add -n local -t file -l /home/REDACTED/work/azure-dev/azure-dev/cli/azd/extensions/registry.json -o x_amd64/vet -W g_.a om/stretchr/test-ifaceassert x_amd64/vet . o/sdk/resourcema-atomic --64 x_amd64/vet (dns block)
    • Triggering command: /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd extension list --source local --output json x_amd64/vet --gdwarf-5 zd/pkg/httputil -o x_amd64/vet @v1.�� g_.a om/eiannone/keyb-ifaceassert x_amd64/vet . m --64 x_amd64/vet (dns block)
    • Triggering command: /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd extension install azure.ai.agents --source local --version 0.1.4-preview --gdwarf-5 --64 -o x_amd64/vet @v1.�� g_.a e-dev/cli/azd/pk-ifaceassert x_amd64/vet . goldmark/text --64 x_amd64/vet (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

@JeffreyCA
Copy link
Contributor

/azp run azure-dev - cli

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-sdk
Copy link
Collaborator

Azure Dev CLI Install Instructions

Install scripts

MacOS/Linux

May elevate using sudo on some platforms and configurations

bash:

curl -fsSL https://azuresdkartifacts.z5.web.core.windows.net/azd/standalone/pr/6390/uninstall-azd.sh | bash;
curl -fsSL https://azuresdkartifacts.z5.web.core.windows.net/azd/standalone/pr/6390/install-azd.sh | bash -s -- --base-url https://azuresdkartifacts.z5.web.core.windows.net/azd/standalone/pr/6390 --version '' --verbose --skip-verify

pwsh:

Invoke-RestMethod 'https://azuresdkartifacts.z5.web.core.windows.net/azd/standalone/pr/6390/uninstall-azd.ps1' -OutFile uninstall-azd.ps1; ./uninstall-azd.ps1
Invoke-RestMethod 'https://azuresdkartifacts.z5.web.core.windows.net/azd/standalone/pr/6390/install-azd.ps1' -OutFile install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkartifacts.z5.web.core.windows.net/azd/standalone/pr/6390' -Version '' -SkipVerify -Verbose

Windows

PowerShell install

powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkartifacts.z5.web.core.windows.net/azd/standalone/pr/6390/uninstall-azd.ps1' > uninstall-azd.ps1; ./uninstall-azd.ps1;"
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkartifacts.z5.web.core.windows.net/azd/standalone/pr/6390/install-azd.ps1' > install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkartifacts.z5.web.core.windows.net/azd/standalone/pr/6390' -Version '' -SkipVerify -Verbose;"

MSI install

powershell -c "irm 'https://azuresdkartifacts.z5.web.core.windows.net/azd/standalone/pr/6390/azd-windows-amd64.msi' -OutFile azd-windows-amd64.msi; msiexec /i azd-windows-amd64.msi /qn"

Standalone Binary

MSI

Documentation

learn.microsoft.com documentation

title: Azure Developer CLI reference
description: This article explains the syntax and parameters for the various Azure Developer CLI commands.
author: alexwolfmsft
ms.author: alexwolf
ms.date: 01/13/2026
ms.service: azure-dev-cli
ms.topic: conceptual
ms.custom: devx-track-azdevcli

Azure Developer CLI reference

This article explains the syntax and parameters for the various Azure Developer CLI commands.

azd

The Azure Developer CLI (azd) is an open-source tool that helps onboard and manage your project on Azure

Options

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --docs         Opens the documentation for azd in your web browser.
  -h, --help         Gets help for azd.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

  • azd add: Add a component to your project.
  • azd auth: Authenticate with Azure.
  • azd completion: Generate shell completion scripts.
  • azd config: Manage azd configurations (ex: default Azure subscription, location).
  • azd deploy: Deploy your project code to Azure.
  • azd down: Delete your project's Azure resources.
  • azd env: Manage environments (ex: default environment, environment variables).
  • azd extension: Manage azd extensions.
  • azd hooks: Develop, test and run hooks for a project.
  • azd infra: Manage your Infrastructure as Code (IaC).
  • azd init: Initialize a new application.
  • azd mcp: Manage Model Context Protocol (MCP) server. (Alpha)
  • azd monitor: Monitor a deployed project.
  • azd package: Packages the project's code to be deployed to Azure.
  • azd pipeline: Manage and configure your deployment pipelines.
  • azd provision: Provision Azure resources for your project.
  • azd publish: Publish a service to a container registry.
  • azd restore: Restores the project's dependencies.
  • azd show: Display information about your project and its resources.
  • azd template: Find and view template details.
  • azd up: Provision and deploy your project to Azure with a single command.
  • azd version: Print the version number of Azure Developer CLI.

azd add

Add a component to your project.

azd add [flags]

Options

      --docs   Opens the documentation for azd add in your web browser.
  -h, --help   Gets help for add.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd auth

Authenticate with Azure.

Options

      --docs   Opens the documentation for azd auth in your web browser.
  -h, --help   Gets help for auth.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd auth login

Log in to Azure.

Synopsis

Log in to Azure.

When run without any arguments, log in interactively using a browser. To log in using a device code, pass
--use-device-code.

To log in as a service principal, pass --client-id and --tenant-id as well as one of: --client-secret,
--client-certificate, or --federated-credential-provider.

To log in using a managed identity, pass --managed-identity, which will use the system assigned managed identity.
To use a user assigned managed identity, pass --client-id in addition to --managed-identity with the client id of
the user assigned managed identity you wish to use.

azd auth login [flags]

Options

      --check-status                           Checks the log-in status instead of logging in.
      --client-certificate string              The path to the client certificate for the service principal to authenticate with.
      --client-id string                       The client id for the service principal to authenticate with.
      --client-secret string                   The client secret for the service principal to authenticate with. Set to the empty string to read the value from the console.
      --docs                                   Opens the documentation for azd auth login in your web browser.
      --federated-credential-provider string   The provider to use to acquire a federated token to authenticate with. Supported values: github, azure-pipelines, oidc
  -h, --help                                   Gets help for login.
      --managed-identity                       Use a managed identity to authenticate.
      --redirect-port int                      Choose the port to be used as part of the redirect URI during interactive login.
      --tenant-id string                       The tenant id or domain name to authenticate with.
      --use-device-code[=true]                 When true, log in by using a device code instead of a browser.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd auth logout

Log out of Azure.

Synopsis

Log out of Azure

azd auth logout [flags]

Options

      --docs   Opens the documentation for azd auth logout in your web browser.
  -h, --help   Gets help for logout.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd auth status

Show the current authentication status.

Synopsis

Display whether you are logged in to Azure and the associated account information.

azd auth status [flags]

Options

      --docs   Opens the documentation for azd auth status in your web browser.
  -h, --help   Gets help for status.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd completion

Generate shell completion scripts.

Synopsis

Generate shell completion scripts for azd.

The completion command allows you to generate autocompletion scripts for your shell,
currently supports bash, zsh, fish and PowerShell.

See each sub-command's help for details on how to use the generated script.

Options

      --docs   Opens the documentation for azd completion in your web browser.
  -h, --help   Gets help for completion.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd completion bash

Generate bash completion script.

azd completion bash

Options

      --docs   Opens the documentation for azd completion bash in your web browser.
  -h, --help   Gets help for bash.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd completion fig

Generate Fig autocomplete spec.

azd completion fig

Options

      --docs   Opens the documentation for azd completion fig in your web browser.
  -h, --help   Gets help for fig.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd completion fish

Generate fish completion script.

azd completion fish

Options

      --docs   Opens the documentation for azd completion fish in your web browser.
  -h, --help   Gets help for fish.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd completion powershell

Generate PowerShell completion script.

azd completion powershell

Options

      --docs   Opens the documentation for azd completion powershell in your web browser.
  -h, --help   Gets help for powershell.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd completion zsh

Generate zsh completion script.

azd completion zsh

Options

      --docs   Opens the documentation for azd completion zsh in your web browser.
  -h, --help   Gets help for zsh.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd config

Manage azd configurations (ex: default Azure subscription, location).

Synopsis

Manage the Azure Developer CLI user configuration, which includes your default Azure subscription and location.

Available since azure-dev-cli_0.4.0-beta.1.

The easiest way to configure azd for the first time is to run azd init. The subscription and location you select will be stored in the config.json file located in the config directory. To configure azd anytime afterwards, you'll use azd config set.

The default value of the config directory is:

  • $HOME/.azd on Linux and macOS
  • %USERPROFILE%.azd on Windows

The configuration directory can be overridden by specifying a path in the AZD_CONFIG_DIR environment variable.

Options

      --docs   Opens the documentation for azd config in your web browser.
  -h, --help   Gets help for config.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd config get

Gets a configuration.

Synopsis

Gets a configuration in the configuration path.

The default value of the config directory is:

  • $HOME/.azd on Linux and macOS
  • %USERPROFILE%\.azd on Windows

The configuration directory can be overridden by specifying a path in the AZD_CONFIG_DIR environment variable.

azd config get <path> [flags]

Options

      --docs   Opens the documentation for azd config get in your web browser.
  -h, --help   Gets help for get.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd config list-alpha

Display the list of available features in alpha stage.

azd config list-alpha [flags]

Options

      --docs   Opens the documentation for azd config list-alpha in your web browser.
  -h, --help   Gets help for list-alpha.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd config options

List all available configuration settings.

Synopsis

List all possible configuration settings that can be set with azd, including descriptions and allowed values.

azd config options [flags]

Options

      --docs   Opens the documentation for azd config options in your web browser.
  -h, --help   Gets help for options.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd config reset

Resets configuration to default.

Synopsis

Resets all configuration in the configuration path.

The default value of the config directory is:

  • $HOME/.azd on Linux and macOS
  • %USERPROFILE%\.azd on Windows

The configuration directory can be overridden by specifying a path in the AZD_CONFIG_DIR environment variable to the default.

azd config reset [flags]

Options

      --docs    Opens the documentation for azd config reset in your web browser.
  -f, --force   Force reset without confirmation.
  -h, --help    Gets help for reset.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd config set

Sets a configuration.

Synopsis

Sets a configuration in the configuration path.

The default value of the config directory is:

  • $HOME/.azd on Linux and macOS
  • %USERPROFILE%\.azd on Windows

The configuration directory can be overridden by specifying a path in the AZD_CONFIG_DIR environment variable.

azd config set <path> <value> [flags]

Examples

azd config set defaults.subscription <yourSubscriptionID>
azd config set defaults.location eastus

Options

      --docs   Opens the documentation for azd config set in your web browser.
  -h, --help   Gets help for set.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd config show

Show all the configuration values.

Synopsis

Show all configuration values in the configuration path.

The default value of the config directory is:

  • $HOME/.azd on Linux and macOS
  • %USERPROFILE%\.azd on Windows

The configuration directory can be overridden by specifying a path in the AZD_CONFIG_DIR environment variable.

azd config show [flags]

Options

      --docs   Opens the documentation for azd config show in your web browser.
  -h, --help   Gets help for show.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd config unset

Unsets a configuration.

Synopsis

Removes a configuration in the configuration path.

The default value of the config directory is:

  • $HOME/.azd on Linux and macOS
  • %USERPROFILE%\.azd on Windows

The configuration directory can be overridden by specifying a path in the AZD_CONFIG_DIR environment variable.

azd config unset <path> [flags]

Examples

azd config unset defaults.location

Options

      --docs   Opens the documentation for azd config unset in your web browser.
  -h, --help   Gets help for unset.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd deploy

Deploy your project code to Azure.

azd deploy <service> [flags]

Options

      --all                   Deploys all services that are listed in azure.yaml
      --docs                  Opens the documentation for azd deploy in your web browser.
  -e, --environment string    The name of the environment to use.
      --from-package string   Deploys the packaged service located at the provided path. Supports zipped file packages (file path) or container images (image tag).
  -h, --help                  Gets help for deploy.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd down

Delete your project's Azure resources.

azd down [<layer>] [flags]

Options

      --docs                 Opens the documentation for azd down in your web browser.
  -e, --environment string   The name of the environment to use.
      --force                Does not require confirmation before it deletes resources.
  -h, --help                 Gets help for down.
      --purge                Does not require confirmation before it permanently deletes resources that are soft-deleted by default (for example, key vaults).

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd env

Manage environments (ex: default environment, environment variables).

Options

      --docs   Opens the documentation for azd env in your web browser.
  -h, --help   Gets help for env.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd env config

Manage environment configuration (ex: stored in .azure//config.json).

Options

      --docs   Opens the documentation for azd env config in your web browser.
  -h, --help   Gets help for config.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd env config get

Gets a configuration value from the environment.

Synopsis

Gets a configuration value from the environment's config.json file.

azd env config get <path> [flags]

Options

      --docs                 Opens the documentation for azd env config get in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for get.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd env config set

Sets a configuration value in the environment.

Synopsis

Sets a configuration value in the environment's config.json file.

azd env config set <path> <value> [flags]

Examples

azd env config set myapp.endpoint https://example.com
azd env config set myapp.debug true

Options

      --docs                 Opens the documentation for azd env config set in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for set.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd env config unset

Unsets a configuration value in the environment.

Synopsis

Removes a configuration value from the environment's config.json file.

azd env config unset <path> [flags]

Examples

azd env config unset myapp.endpoint

Options

      --docs                 Opens the documentation for azd env config unset in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for unset.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd env get-value

Get specific environment value.

azd env get-value <keyName> [flags]

Options

      --docs                 Opens the documentation for azd env get-value in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for get-value.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

  • azd env: Manage environments (ex: default environment, environment variables).
  • Back to top

azd env get-values

Get all environment values.

azd env get-values [flags]

Options

      --docs                 Opens the documentation for azd env get-values in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for get-values.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

  • azd env: Manage environments (ex: default environment, environment variables).
  • Back to top

azd env list

List environments.

azd env list [flags]

Options

      --docs   Opens the documentation for azd env list in your web browser.
  -h, --help   Gets help for list.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

  • azd env: Manage environments (ex: default environment, environment variables).
  • Back to top

azd env new

Create a new environment and set it as the default.

azd env new <environment> [flags]

Options

      --docs                  Opens the documentation for azd env new in your web browser.
  -h, --help                  Gets help for new.
  -l, --location string       Azure location for the new environment
      --subscription string   Name or ID of an Azure subscription to use for the new environment

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

  • azd env: Manage environments (ex: default environment, environment variables).
  • Back to top

azd env refresh

Refresh environment values by using information from a previous infrastructure provision.

azd env refresh <environment> [flags]

Options

      --docs                 Opens the documentation for azd env refresh in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for refresh.
      --hint string          Hint to help identify the environment to refresh
      --layer string         Provisioning layer to refresh the environment from.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

  • azd env: Manage environments (ex: default environment, environment variables).
  • Back to top

azd env select

Set the default environment.

azd env select [<environment>] [flags]

Options

      --docs   Opens the documentation for azd env select in your web browser.
  -h, --help   Gets help for select.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

  • azd env: Manage environments (ex: default environment, environment variables).
  • Back to top

azd env set

Set one or more environment values.

Synopsis

Set one or more environment values using key-value pairs or by loading from a .env formatted file.

azd env set [<key> <value>] | [<key>=<value> ...] | [--file <filepath>] [flags]

Options

      --docs                 Opens the documentation for azd env set in your web browser.
  -e, --environment string   The name of the environment to use.
      --file string          Path to .env formatted file to load environment values from.
  -h, --help                 Gets help for set.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

  • azd env: Manage environments (ex: default environment, environment variables).
  • Back to top

azd env set-secret

Set a name as a reference to a Key Vault secret in the environment.

Synopsis

You can either create a new Key Vault secret or select an existing one.
The provided name is the key for the .env file which holds the secret reference to the Key Vault secret.

azd env set-secret <name> [flags]

Options

      --docs                 Opens the documentation for azd env set-secret in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for set-secret.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

  • azd env: Manage environments (ex: default environment, environment variables).
  • Back to top

azd extension

Manage azd extensions.

Options

      --docs   Opens the documentation for azd extension in your web browser.
  -h, --help   Gets help for extension.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd extension install

Installs specified extensions.

azd extension install <extension-id> [flags]

Options

      --docs             Opens the documentation for azd extension install in your web browser.
  -f, --force            Force installation, including downgrades and reinstalls
  -h, --help             Gets help for install.
  -s, --source string    The extension source to use for installs
  -v, --version string   The version of the extension to install

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd extension list

List available extensions.

azd extension list [--installed] [flags]

Options

      --docs            Opens the documentation for azd extension list in your web browser.
  -h, --help            Gets help for list.
      --installed       List installed extensions
      --source string   Filter extensions by source
      --tags strings    Filter extensions by tags

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd extension show

Show details for a specific extension.

azd extension show <extension-id> [flags]

Options

      --docs            Opens the documentation for azd extension show in your web browser.
  -h, --help            Gets help for show.
  -s, --source string   The extension source to use.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd extension source

View and manage extension sources

Options

      --docs   Opens the documentation for azd extension source in your web browser.
  -h, --help   Gets help for source.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd extension source add

Add an extension source with the specified name

azd extension source add [flags]

Options

      --docs              Opens the documentation for azd extension source add in your web browser.
  -h, --help              Gets help for add.
  -l, --location string   The location of the extension source
  -n, --name string       The name of the extension source
  -t, --type string       The type of the extension source. Supported types are 'file' and 'url'

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd extension source list

List extension sources

azd extension source list [flags]

Options

      --docs   Opens the documentation for azd extension source list in your web browser.
  -h, --help   Gets help for list.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd extension source remove

Remove an extension source with the specified name

azd extension source remove <name> [flags]

Options

      --docs   Opens the documentation for azd extension source remove in your web browser.
  -h, --help   Gets help for remove.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd extension uninstall

Uninstall specified extensions.

azd extension uninstall [extension-id] [flags]

Options

      --all    Uninstall all installed extensions
      --docs   Opens the documentation for azd extension uninstall in your web browser.
  -h, --help   Gets help for uninstall.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd extension upgrade

Upgrade specified extensions.

azd extension upgrade [extension-id] [flags]

Options

      --all              Upgrade all installed extensions
      --docs             Opens the documentation for azd extension upgrade in your web browser.
  -h, --help             Gets help for upgrade.
  -s, --source string    The extension source to use for upgrades
  -v, --version string   The version of the extension to upgrade to

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd hooks

Develop, test and run hooks for a project.

Options

      --docs   Opens the documentation for azd hooks in your web browser.
  -h, --help   Gets help for hooks.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd hooks run

Runs the specified hook for the project and services

azd hooks run <name> [flags]

Options

      --docs                 Opens the documentation for azd hooks run in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for run.
      --platform string      Forces hooks to run for the specified platform.
      --service string       Only runs hooks for the specified service.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd infra

Manage your Infrastructure as Code (IaC).

Options

      --docs   Opens the documentation for azd infra in your web browser.
  -h, --help   Gets help for infra.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd infra generate

Write IaC for your project to disk, allowing you to manually manage it.

azd infra generate [flags]

Options

      --docs                 Opens the documentation for azd infra generate in your web browser.
  -e, --environment string   The name of the environment to use.
      --force                Overwrite any existing files without prompting
  -h, --help                 Gets help for generate.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd init

Initialize a new application.

azd init [flags]

Options

  -b, --branch string         The template branch to initialize from. Must be used with a template argument (--template or -t).
      --docs                  Opens the documentation for azd init in your web browser.
  -e, --environment string    The name of the environment to use.
  -f, --filter strings        The tag(s) used to filter template results. Supports comma-separated values.
      --from-code             Initializes a new application from your existing code.
  -h, --help                  Gets help for init.
  -l, --location string       Azure location for the new environment
  -m, --minimal               Initializes a minimal project.
  -s, --subscription string   Name or ID of an Azure subscription to use for the new environment
  -t, --template string       Initializes a new application from a template. You can use Full URI, <owner>/<repository>, or <repository> if it's part of the azure-samples organization.
      --up                    Provision and deploy to Azure after initializing the project from a template.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd mcp

Manage Model Context Protocol (MCP) server. (Alpha)

Options

      --docs   Opens the documentation for azd mcp in your web browser.
  -h, --help   Gets help for mcp.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd mcp consent

Manage MCP tool consent.

Synopsis

Manage consent rules for MCP tool execution.

Options

      --docs   Opens the documentation for azd mcp consent in your web browser.
  -h, --help   Gets help for consent.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd mcp consent grant

Grant consent trust rules.

Synopsis

Grant trust rules for MCP tools and servers.

This command creates consent rules that allow MCP tools to execute
without prompting for permission. You can specify different permission
levels and scopes for the rules.

Examples:

Grant always permission to all tools globally

azd mcp consent grant --global --permission always

Grant project permission to a specific tool with read-only scope

azd mcp consent grant --server my-server --tool my-tool --permission project --scope read-only

azd mcp consent grant [flags]

Options

      --action string       Action type: 'all' or 'readonly' (default "all")
      --docs                Opens the documentation for azd mcp consent grant in your web browser.
      --global              Apply globally to all servers
  -h, --help                Gets help for grant.
      --operation string    Operation type: 'tool' or 'sampling' (default "tool")
      --permission string   Permission: 'allow', 'deny', or 'prompt' (default "allow")
      --scope string        Rule scope: 'global', or 'project' (default "global")
      --server string       Server name
      --tool string         Specific tool name (requires --server)

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd mcp consent list

List consent rules.

Synopsis

List all consent rules for MCP tools.

azd mcp consent list [flags]

Options

      --action string       Action type to filter by (readonly, any)
      --docs                Opens the documentation for azd mcp consent list in your web browser.
  -h, --help                Gets help for list.
      --operation string    Operation to filter by (tool, sampling)
      --permission string   Permission to filter by (allow, deny, prompt)
      --scope string        Consent scope to filter by (global, project). If not specified, lists rules from all scopes.
      --target string       Specific target to operate on (server/tool format)

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd mcp consent revoke

Revoke consent rules.

Synopsis

Revoke consent rules for MCP tools.

azd mcp consent revoke [flags]

Options

      --action string       Action type to filter by (readonly, any)
      --docs                Opens the documentation for azd mcp consent revoke in your web browser.
  -h, --help                Gets help for revoke.
      --operation string    Operation to filter by (tool, sampling)
      --permission string   Permission to filter by (allow, deny, prompt)
      --scope string        Consent scope to filter by (global, project). If not specified, revokes rules from all scopes.
      --target string       Specific target to operate on (server/tool format)

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd mcp start

Starts the MCP server.

Synopsis

Starts the Model Context Protocol (MCP) server.

This command starts an MCP server that can be used by MCP clients to access
azd functionality through the Model Context Protocol interface.

azd mcp start [flags]

Options

      --docs   Opens the documentation for azd mcp start in your web browser.
  -h, --help   Gets help for start.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd monitor

Monitor a deployed project.

azd monitor [flags]

Options

      --docs                 Opens the documentation for azd monitor in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for monitor.
      --live                 Open a browser to Application Insights Live Metrics. Live Metrics is currently not supported for Python apps.
      --logs                 Open a browser to Application Insights Logs.
      --overview             Open a browser to Application Insights Overview Dashboard.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd package

Packages the project's code to be deployed to Azure.

azd package <service> [flags]

Options

      --all                  Packages all services that are listed in azure.yaml
      --docs                 Opens the documentation for azd package in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for package.
      --output-path string   File or folder path where the generated packages will be saved.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd pipeline

Manage and configure your deployment pipelines.

Options

      --docs   Opens the documentation for azd pipeline in your web browser.
  -h, --help   Gets help for pipeline.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd pipeline config

Configure your deployment pipeline to connect securely to Azure. (Beta)

azd pipeline config [flags]

Options

  -m, --applicationServiceManagementReference string   Service Management Reference. References application or service contact information from a Service or Asset Management database. This value must be a Universally Unique Identifier (UUID). You can set this value globally by running azd config set pipeline.config.applicationServiceManagementReference <UUID>.
      --auth-type string                               The authentication type used between the pipeline provider and Azure for deployment (Only valid for GitHub provider). Valid values: federated, client-credentials.
      --docs                                           Opens the documentation for azd pipeline config in your web browser.
  -e, --environment string                             The name of the environment to use.
  -h, --help                                           Gets help for config.
      --principal-id string                            The client id of the service principal to use to grant access to Azure resources as part of the pipeline.
      --principal-name string                          The name of the service principal to use to grant access to Azure resources as part of the pipeline.
      --principal-role stringArray                     The roles to assign to the service principal. By default the service principal will be granted the Contributor and User Access Administrator roles. (default [Contributor,User Access Administrator])
      --provider string                                The pipeline provider to use (github for Github Actions and azdo for Azure Pipelines).
      --remote-name string                             The name of the git remote to configure the pipeline to run on. (default "origin")

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd provision

Provision Azure resources for your project.

azd provision [<layer>] [flags]

Options

      --docs                 Opens the documentation for azd provision in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for provision.
      --no-state             (Bicep only) Forces a fresh deployment based on current Bicep template files, ignoring any stored deployment state.
      --preview              Preview changes to Azure resources.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd publish

Publish a service to a container registry.

azd publish <service> [flags]

Options

      --all                   Publishes all services that are listed in azure.yaml
      --docs                  Opens the documentation for azd publish in your web browser.
  -e, --environment string    The name of the environment to use.
      --from-package string   Publishes the service from a container image (image tag).
  -h, --help                  Gets help for publish.
      --to string             The target container image in the form '[registry/]repository[:tag]' to publish to.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd restore

Restores the project's dependencies.

azd restore <service> [flags]

Options

      --all                  Restores all services that are listed in azure.yaml
      --docs                 Opens the documentation for azd restore in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for restore.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd show

Display information about your project and its resources.

azd show [resource-name|resource-id] [flags]

Options

      --docs                 Opens the documentation for azd show in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for show.
      --show-secrets         Unmask secrets in output.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd template

Find and view template details.

Options

      --docs   Opens the documentation for azd template in your web browser.
  -h, --help   Gets help for template.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd template list

Show list of sample azd templates. (Beta)

azd template list [flags]

Options

      --docs             Opens the documentation for azd template list in your web browser.
  -f, --filter strings   The tag(s) used to filter template results. Supports comma-separated values.
  -h, --help             Gets help for list.
  -s, --source string    Filters templates by source.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd template show

Show details for a given template. (Beta)

azd template show <template> [flags]

Options

      --docs   Opens the documentation for azd template show in your web browser.
  -h, --help   Gets help for show.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd template source

View and manage template sources. (Beta)

Options

      --docs   Opens the documentation for azd template source in your web browser.
  -h, --help   Gets help for source.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd template source add

Adds an azd template source with the specified key. (Beta)

Synopsis

The key can be any value that uniquely identifies the template source, with well-known values being:
・default: Default templates
・awesome-azd: Templates from https://aka.ms/awesome-azd

azd template source add <key> [flags]

Options

      --docs              Opens the documentation for azd template source add in your web browser.
  -h, --help              Gets help for add.
  -l, --location string   Location of the template source. Required when using type flag.
  -n, --name string       Display name of the template source.
  -t, --type string       Kind of the template source. Supported types are 'file', 'url' and 'gh'.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd template source list

Lists the configured azd template sources. (Beta)

azd template source list [flags]

Options

      --docs   Opens the documentation for azd template source list in your web browser.
  -h, --help   Gets help for list.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd template source remove

Removes the specified azd template source (Beta)

azd template source remove <key> [flags]

Options

      --docs   Opens the documentation for azd template source remove in your web browser.
  -h, --help   Gets help for remove.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd up

Provision and deploy your project to Azure with a single command.

azd up [flags]

Options

      --docs                 Opens the documentation for azd up in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for up.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

azd version

Print the version number of Azure Developer CLI.

azd version [flags]

Options

      --docs   Opens the documentation for azd version in your web browser.
  -h, --help   Gets help for version.

Options inherited from parent commands

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Accepts the default value instead of prompting, or it fails if there is no default.

See also

@JeffreyCA
Copy link
Contributor

/check-enforcer override

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add command to list all possible azd config settings

7 participants