cmd

package
v1.25.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2026 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Populated at build time
	Version   = "dev" // Default value for development builds
	Commit    = "none"
	BuildDate = "unknown"
)

Functions

func NewRootCommand

func NewRootCommand() *cobra.Command

Types

type DotNetTemplate

type DotNetTemplate struct {
	Namespace string
	ExeName   string
}

type ExtensionTemplate

type ExtensionTemplate struct {
	Metadata *models.ExtensionSchema
	// LeafNamespace is the final dot-separated segment of Metadata.Namespace, used as the
	// cobra Use/Name for the extension's root command. For nested namespaces like
	// "ai.agents", users invoke the extension via "azd ai agents" (azd splits on '.'),
	// so the extension's own root command name is the leaf ("agents").
	LeafNamespace string
	DotNet        *DotNetTemplate
}

ExtensionTemplate contains values used when rendering extension project templates.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL