Skip to content

package delete doesn't work with --no-prompt flag #530

@Mia-Ameisbichler

Description

@Mia-Ameisbichler

The bug

When using the octopus package delete command with the --no-prompt flag, i get the same error message when the -p flag is not used, even when it's specified. This also makes usage in GitHub Actions impossible. I suspect that the flag is allways active when using Actions.

Command to reproduce

octopus package delete -p "Package" -v "Version" -y --no-prompt

Outcome

No access right now same output as:

octopus package delete -v "Version" -y --no-prompt

Versions

cli: 2.8.0

Octopus Server: Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions