Merge pull request #281127 from JeffreyCA/fig-spec-azd

Update Fig spec for Azure Developer CLI (azd)
This commit is contained in:
Daniel Imms
2025-12-09 17:56:50 -08:00
committed by GitHub

View File

@@ -191,6 +191,16 @@ const completionSpec: Fig.Spec = {
name: ['add'],
description: 'Add a component to your project.',
},
{
name: ['ai'],
description: 'Extension for the Foundry Agent Service. (Preview)',
subcommands: [
{
name: ['agent'],
description: 'Extension for the Foundry Agent Service. (Preview)',
},
],
},
{
name: ['auth'],
description: 'Authenticate with Azure.',
@@ -274,6 +284,10 @@ const completionSpec: Fig.Spec = {
},
],
},
{
name: ['coding-agent'],
description: 'This extension configures GitHub Copilot Coding Agent access to Azure',
},
{
name: ['completion'],
description: 'Generate shell completion scripts.',
@@ -351,6 +365,10 @@ const completionSpec: Fig.Spec = {
},
],
},
{
name: ['demo'],
description: 'This extension provides examples of the AZD extension framework.',
},
{
name: ['deploy'],
description: 'Deploy your project code to Azure.',
@@ -407,6 +425,10 @@ const completionSpec: Fig.Spec = {
isDangerous: true,
},
],
args: {
name: 'layer',
isOptional: true,
},
},
{
name: ['env'],
@@ -499,6 +521,15 @@ const completionSpec: Fig.Spec = {
},
],
},
{
name: ['--layer'],
description: 'Provisioning layer to refresh the environment from.',
args: [
{
name: 'layer',
},
],
},
],
args: {
name: 'environment',
@@ -647,7 +678,8 @@ const completionSpec: Fig.Spec = {
},
],
args: {
name: 'extension-name',
name: 'extension-id',
generators: azdGenerators.listExtensions,
},
},
{
@@ -1273,6 +1305,10 @@ const completionSpec: Fig.Spec = {
description: 'Preview changes to Azure resources.',
},
],
args: {
name: 'layer',
isOptional: true,
},
},
{
name: ['publish'],
@@ -1474,6 +1510,10 @@ const completionSpec: Fig.Spec = {
name: ['version'],
description: 'Print the version number of Azure Developer CLI.',
},
{
name: ['x'],
description: 'This extension provides a set of tools for AZD extension developers to test and debug their extensions.',
},
{
name: ['help'],
description: 'Help about any command',
@@ -1482,6 +1522,16 @@ const completionSpec: Fig.Spec = {
name: ['add'],
description: 'Add a component to your project.',
},
{
name: ['ai'],
description: 'Extension for the Foundry Agent Service. (Preview)',
subcommands: [
{
name: ['agent'],
description: 'Extension for the Foundry Agent Service. (Preview)',
},
],
},
{
name: ['auth'],
description: 'Authenticate with Azure.',
@@ -1496,6 +1546,10 @@ const completionSpec: Fig.Spec = {
},
],
},
{
name: ['coding-agent'],
description: 'This extension configures GitHub Copilot Coding Agent access to Azure',
},
{
name: ['completion'],
description: 'Generate shell completion scripts.',
@@ -1552,6 +1606,10 @@ const completionSpec: Fig.Spec = {
},
],
},
{
name: ['demo'],
description: 'This extension provides examples of the AZD extension framework.',
},
{
name: ['deploy'],
description: 'Deploy your project code to Azure.',
@@ -1768,6 +1826,10 @@ const completionSpec: Fig.Spec = {
name: ['version'],
description: 'Print the version number of Azure Developer CLI.',
},
{
name: ['x'],
description: 'This extension provides a set of tools for AZD extension developers to test and debug their extensions.',
},
],
},
],