Skip to content

[AspireE2E] aspire destroy: with unknown flags, it will execute successfully without any CLI error. #16327

@jinzhao1127

Description

@jinzhao1127

REGRESSION INFO: New feature on Aspire 13.3

INSTALL STEPS

  1. Clean machine: Windows11 25h2 x64
  2. Install 10.0.202 SDK
  3. Install Aspire CLI 13.3 : iex "& { $(irm https://aspire.dev/install.ps1) } -Quality dev"

REPRO STEPS

  1. Open CMD, create an Aspire ASP.NET Core/Blazor Starter App using following commands:

    aspire new aspire-starter -n Aspire1

  2. Run unknown flags aspire destroy --force

ACTUAL
aspire destroy --force will execute successfully.
Image

EXPECTED
error: Unknown option '--force' Run 'aspire destroy --help' for more information.

aspire destroy -h info:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions