Skip to content

[docs] aspire update: document --yes required with --non-interactive#902

Merged
davidfowl merged 2 commits into
release/13.4from
docs/update-command-non-interactive-yes-required-93890821725613de
May 11, 2026
Merged

[docs] aspire update: document --yes required with --non-interactive#902
davidfowl merged 2 commits into
release/13.4from
docs/update-command-non-interactive-yes-required-93890821725613de

Conversation

@aspire-repo-bot
Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#16829 by @JamesNK.

Targeting main (falling back to main because release/13.4 does not yet exist on microsoft/aspire.dev).

Why this PR is needed

PR microsoft/aspire#16829 added validation to the aspire update command so that --yes is required when --non-interactive is specified. This matches the existing behavior of aspire destroy. Without this docs update, CLI users wouldn't know that omitting --yes while using --non-interactive results in an error.

What was changed

Added a Non-interactive usage section to the aspire update command reference page, explaining:

  • That --yes must be provided alongside --non-interactive
  • The exact error message shown when --yes is omitted

This mirrors the existing documentation pattern used by aspire destroy.

Files modified

  • src/frontend/src/content/docs/reference/cli/commands/aspire-update.mdx — updated (added Non-interactive usage section)

Generated by PR Documentation Check for issue #16829 · ● 7.1M ·

The aspire update command now validates that --yes is provided when
--non-interactive is specified, matching the existing behavior of
aspire destroy. Add a Non-interactive usage section to the update
command docs to make this requirement explicit.

Documents changes from microsoft/aspire#16829

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@aspire-repo-bot aspire-repo-bot Bot added the docs-from-code Copilot initiated issue from dotnet/aspire repo label May 11, 2026
@aspire-repo-bot aspire-repo-bot Bot requested a review from davidfowl May 11, 2026 02:10
@JamesNK JamesNK marked this pull request as ready for review May 11, 2026 02:29
Copilot AI review requested due to automatic review settings May 11, 2026 02:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the aspire update CLI reference documentation to reflect the new validation behavior requiring --yes when running with --non-interactive, aligning docs with the CLI’s enforced behavior (mirroring aspire destroy).

Changes:

  • Added a “Non-interactive usage” section explaining that --yes must be used with --non-interactive.
  • Documented the error message shown when --non-interactive is used without --yes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/frontend/src/content/docs/reference/cli/commands/aspire-update.mdx Outdated
@davidfowl davidfowl changed the base branch from main to release/13.4 May 11, 2026 04:42
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@davidfowl davidfowl merged commit 2dd28e6 into release/13.4 May 11, 2026
2 checks passed
@davidfowl davidfowl deleted the docs/update-command-non-interactive-yes-required-93890821725613de branch May 11, 2026 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants