HomeElementl

Add force flag to skip prompt when deleting runs from cli

Description

Add force flag to skip prompt when deleting runs from cli

Summary:
Resolves https://github.com/dagster-io/dagster/issues/4268.

Also, make the unhappy paths raise a ClickException to return a non-zero exit code.

Test Plan: pytest

Reviewers: alangenfeld

Reviewed By: alangenfeld

Differential Revision: https://dagster.phacility.com/D8300

Details

Provenance
rexledesmaAuthored on Jun 9 2021, 12:44 AM
Reviewer
alangenfeld
Differential Revision
D8300: Add force flag to skip prompt when deleting runs from cli
Parents
R1:540fcbbf2894: Do Postgres/MySQL table creation in a transaction
Branches
Unknown
Tags
Unknown