Azure / Azure/azure-cli

Provide command to ask something to Copilot or the integrated AI

Open
#31,462 3 comments 0 reactions 2 assignees Assigned to @jsntcy View on GitHub
act-identity-squad ARM Auto-Assign feature-request Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

I would like something like this:

```
C:\> az ask "How to register subscription 12345 in Microsoft.Foo resource provider?"
Submitted question to Copilot, waiting for answer...
[Copilot] To register subscription 12345 to Microsoft.Foo resource provider, you can execute the following commands:
[Copilot]
[Copilot] az account set --subscription 12345
[Copilot] az provider register --namespace Microsoft.Foo
[Copilot]
[Copilot] Do you want me to run these commands now? [Y/N]
```

I know you are providing AI Shell, but I would like to have something more out-of-the-box from the Azure CLI, i.e. I would like to avoid installing yet-another-package besides Azure CLI.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.