CLI Reference
Complete reference for all azd copilot commands and flags.
Global Flags
These flags are available for all commands:
| Flag | Short | Description |
|---|---|---|
--output | -o | Output format (default, json) |
--debug | - | Enable debug logging |
--structured-logs | - | Enable structured JSON logging to stderr |
--cwd | -C | Sets the current working directory |
Commands
azd copilot agentsList and manage Azure agents
azd copilot buildGenerate a complete Azure application from description
azd copilot checkpointsManage build checkpoints
azd copilot contextGet the context of the AZD project & environment.
azd copilot diagnoseTroubleshoot Azure issues
azd copilot fixAI-powered error fixing
azd copilot initAI-assisted project initialization
azd copilot mcpMCP server management
azd copilot optimizeCost and performance optimization
azd copilot reviewAI-powered code review
azd copilot sessionsManage Copilot sessions
azd copilot skillsList and manage Azure skills
azd copilot specView and manage the project spec
azd copilot versionShow version information