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
Track B implementation. Depends on B0 (#33) + Q5 (#32).
Ship
aspire uninstall --selfandaspire uninstall --state-onlyper the recommendation in #32.Branches by
InstallRoute:--state-onlyis the missing piece for microsoft#15614 (W34/W35 cleanup) and is route-agnostic.Code added
src/Aspire.Cli/Commands/UninstallCommand.cs(new)Aspire.Cli.Tests/Commands/UninstallCommandTests.csScenarios advanced
S6.1–S6.6.
Part of: #29