Summary
The CLI lacks several commands available in MCP/Dashboard that are essential for end-to-end automation, diagnostics, and scripting - including AI agent-led workflows.
Community POC
See #13727 for a community proof-of-concept implementing some of these features.
Current Commands (aspire 13.2)
App commands
| Command |
Description |
Status |
aspire new |
Create a new app from an Aspire starter template. |
✅ |
aspire init |
Initialize Aspire in an existing codebase. |
✅ |
aspire run |
Run an Aspire AppHost interactively for development. |
✅ |
aspire stop [<resource>] |
Stop a running apphost or the specified resource. |
✅ |
aspire ps |
List running apphosts. |
✅ |
aspire add [<integration>] |
Add a hosting integration to the apphost. |
✅ |
aspire update |
Update integrations in the Aspire project. (Preview) |
✅ |
Resource management
| Command |
Description |
Status |
aspire start [<resource>] |
Start an apphost in the background, or start a stopped resource. |
✅ |
aspire restart <resource> |
Restart a running resource. |
✅ |
aspire command <resource> <command> |
Execute a command on a resource. |
✅ |
aspire wait <resource> |
Wait for a resource to reach a target status. |
✅ |
Monitoring
| Command |
Description |
Status |
aspire describe [<resource>] |
Describe resources in a running apphost. |
✅ |
aspire logs [<resource>] |
Display logs from resources in a running apphost. |
✅ |
aspire otel logs <resource> |
View structured logs from the Dashboard telemetry API. |
✅ |
aspire otel spans <resource> |
View spans from the Dashboard telemetry API. |
✅ |
aspire otel traces <resource> |
View traces from the Dashboard telemetry API. |
✅ |
Deployment
| Command |
Description |
Status |
aspire publish |
Generate deployment artifacts for an apphost. (Preview) |
✅ |
aspire deploy |
Deploy an apphost to its deployment targets. (Preview) |
✅ |
aspire do <step> |
Execute a specific pipeline step and its dependencies. (Preview) |
✅ |
Tools & configuration
| Command |
Description |
Status |
aspire config |
Manage CLI configuration including feature flags. |
✅ |
aspire cache |
Manage disk cache for CLI operations. |
✅ |
aspire doctor |
Diagnose Aspire environment issues and verify setup. |
✅ |
aspire agent |
Manage AI agent specific setup. |
✅ |
aspire docs |
Browse and search Aspire documentation from aspire.dev. |
✅ |
aspire secret |
Manage AppHost user secrets (set/get/list/delete). |
✅ New |
Secret Subcommands
| Command |
Description |
Status |
aspire secret get <key> |
Get a secret value. |
✅ New |
aspire secret set <key> <value> |
Set a secret value. |
✅ New |
aspire secret list [--format json] |
List all secrets. |
✅ New |
aspire secret delete <key> |
Delete a secret. |
✅ New |
Docs Subcommands
| Command |
Description |
Status |
aspire docs list |
List all available Aspire documentation pages. |
✅ |
aspire docs search <query> |
Search Aspire documentation by keywords. |
✅ |
aspire docs get <slug> |
Get the full content of a documentation page by its slug. |
✅ |
All Proposed Commands Implemented ✅
All commands from the original proposal have been implemented:
--format json Support
| Command |
JSON support |
aspire ps |
✅ |
aspire describe |
✅ |
aspire logs |
✅ |
aspire otel logs |
✅ |
aspire otel spans |
✅ |
aspire otel traces |
✅ |
aspire doctor |
✅ |
aspire start |
✅ |
aspire secret list |
✅ |
Summary
The CLI lacks several commands available in MCP/Dashboard that are essential for end-to-end automation, diagnostics, and scripting - including AI agent-led workflows.
Community POC
See #13727 for a community proof-of-concept implementing some of these features.
Current Commands (aspire 13.2)
App commands
aspire newaspire initaspire runaspire stop [<resource>]aspire psaspire add [<integration>]aspire updateResource management
aspire start [<resource>]aspire restart <resource>aspire command <resource> <command>aspire wait <resource>Monitoring
aspire describe [<resource>]aspire logs [<resource>]aspire otel logs <resource>aspire otel spans <resource>aspire otel traces <resource>Deployment
aspire publishaspire deployaspire do <step>Tools & configuration
aspire configaspire cacheaspire doctoraspire agentaspire docsaspire secretSecret Subcommands
aspire secret get <key>aspire secret set <key> <value>aspire secret list [--format json]aspire secret delete <key>Docs Subcommands
aspire docs listaspire docs search <query>aspire docs get <slug>All Proposed Commands Implemented ✅
All commands from the original proposal have been implemented:
→ ✅ Shippedaspire wait→ ✅ Shipped (Add aspire secret command for managing AppHost user secrets #14673)aspire secret--format jsonSupportaspire psaspire describeaspire logsaspire otel logsaspire otel spansaspire otel tracesaspire doctoraspire startaspire secret list