Add aspire describe CLI command documentation#502
Add aspire describe CLI command documentation#502Copilot wants to merge 6 commits intorelease/13.2from
aspire describe CLI command documentation#502Conversation
…ces) Addresses #461: CLI aspire resources renamed to aspire describe with --watch renamed to --follow/-f. Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
aspire describe CLI command documentation
IEvangelist
left a comment
There was a problem hiding this comment.
This PR looks good so far, but let's double check it for accuracy by using the .github/skills/doc-tester/SKILL.md skill. Please also consider all new comments and feedback/suggestions. @copilot
| 1. Scans for all running AppHost processes. | ||
| 2. If multiple AppHosts are running within the current directory scope, prompts you to select which one to target. | ||
| 3. If only one AppHost is running in scope, connects to it directly. | ||
| 4. If no in-scope AppHosts are found but out-of-scope AppHosts exist, displays all running AppHosts for selection. |
There was a problem hiding this comment.
Add an import to Steps and wrap this in that component.
There was a problem hiding this comment.
Done in 3531b21 — added Steps import and wrapped the numbered list in the <Steps> component.
| aspire describe --format Json | ||
| ``` | ||
|
|
||
| - Stream resource changes as NDJSON for scripting: |
There was a problem hiding this comment.
NDJSON stands for Newline Delimited JSON — a streaming-friendly format where each line is a standalone JSON object. Updated in 3531b21 to expand the acronym everywhere it appears and added links to ndjson.org.
There was a problem hiding this comment.
Hey @copilot, we should update what's new in 13.2 with a link to this command.
There was a problem hiding this comment.
Added a "Resource monitoring with aspire describe" section under the CLI enhancements in the what's new 13.2 page in 3531b21. It covers the rename from aspire resources, the --watch → --follow/-f change, and includes a LearnMore link to the command reference.
- Wrap numbered list in Steps component per review feedback - Expand NDJSON acronym to Newline Delimited JSON with links - Add 'Resource monitoring with aspire describe' section to what's new 13.2 Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
All three review items addressed in 3531b21. I also ran doc-tester validation using Playwright against the dev server:
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
|
||
| The path to the Aspire AppHost project file. When specified, the command connects to the AppHost running from that project file without prompting for selection. | ||
|
|
||
| - **`--format <Json|Table>`** |
|
|
||
| - **`-f, --follow`** | ||
|
|
||
| Continuously stream resource state changes. In table mode, each update prints a line showing the resource name, state, health, and endpoints. In JSON mode, each update emits a single JSON object per line ([Newline Delimited JSON (NDJSON)](http://ndjson.org/) format). |
There was a problem hiding this comment.
Sorry but that link is sus! @copilot - we need to triple check this. Are you sure? Seems fake or phishy.
There was a problem hiding this comment.
Good catch — ndjson.org appears to be dead/parked. Replaced both occurrences with the canonical GitHub spec repo at https://github.com/ndjson/ndjson-spec in 7e8b181.
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|

aspire-describe.mdxcommand reference page documenting the newaspire describecommand (renamed fromaspire resources)aspire describeentry to the commands table inaspire.mdxaspire describeentry to the sidebar inreference.topics.ts(alphabetical order)overview.mdx<Steps>component (review feedback)aspire describe" section to what's new in 13.2 (review feedback)--formatoption (review feedback)🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.