Skip to content

[B4] aspire uninstall --self / --state-only #41

@radical

Description

@radical

Track B implementation. Depends on B0 (#33) + Q5 (#32).

Ship aspire uninstall --self and aspire uninstall --state-only per the recommendation in #32.

aspire uninstall --self [--keep-state | --purge] [--dry-run] [--yes]
aspire uninstall --state-only [--keep-config | --purge]

Branches by InstallRoute:

  • Script / PrScript: removes binary + prunes PATH
  • Winget / Homebrew / DotNetTool: refuses with route-specific instruction

--state-only is the missing piece for microsoft#15614 (W34/W35 cleanup) and is route-agnostic.

Code added

  • src/Aspire.Cli/Commands/UninstallCommand.cs (new)
  • Tests in Aspire.Cli.Tests/Commands/UninstallCommandTests.cs

Scenarios advanced

S6.1–S6.6.


Part of: #29

Metadata

Metadata

Assignees

No one assigned

    Labels

    acquisitionAspire CLI acquisition coherence worktrack-b-implTrack B: implementation (install-route awareness etc.)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions