data-mie / dbt-cloud-cli

dbt Cloud command line interface (CLI)
Apache License 2.0
73 stars 9 forks source link

dbt-cloud run cancel-all #46

Closed jeremyyeo closed 2 years ago

jeremyyeo commented 2 years ago

Add the ability to cancel all existing runs similar to job delete-all.

Should build on top existing https://github.com/data-mie/dbt-cloud-cli#dbt-cloud-run-cancel

stumelius commented 2 years ago

Thanks for the suggestion @jeremyyeo ! As you said, this needs to be built on top of dbt-cloud run-cancel. It should also leverage dbt-cloud run list --status Running + dbt-cloud run list --status Queued. Do you want to have a crack at this? You can use dbt-cloud job delete-all as reference.