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 agents List and manage Azure agents
azd copilot build Generate a complete Azure application from description
azd copilot checkpoints Manage build checkpoints
azd copilot context Get the context of the AZD project & environment.
azd copilot diagnose Troubleshoot Azure issues
azd copilot fix AI-powered error fixing
azd copilot init AI-assisted project initialization
azd copilot mcp MCP server management
azd copilot optimize Cost and performance optimization
azd copilot review AI-powered code review
azd copilot sessions Manage Copilot sessions
azd copilot skills List and manage Azure skills
azd copilot spec View and manage the project spec
azd copilot version Show version information