New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run-delete --no-interactive still ask for confirmation #6360
Comments
In the help/documentation, the option to be non interactive is case RunDeleteFunc:
if f == nil {
cmd.Help() // nolint
OSExit(0)
}
force, _ := cmd.Flags().GetBool("force")
if !force && !AskConfirm("Are you sure to delete?") {
fmt.Println("Deletion aborted")
OSExit(0)
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I launch:
cdsctl workflow run-delete -n PROJECT my-workflow-name 315 # or cdsctl workflow run-delete --no-interactive PROJECT my-workflow-name 315
it asks for confirmation
Version:
The text was updated successfully, but these errors were encountered: