astro-cli icon indicating copy to clipboard operation
astro-cli copied to clipboard

generic error message when enabling dag deploy

Open sunkickr opened this issue 1 year ago • 1 comments

Describe the bug

How do i enable dag deploys? The error message gives me no clues:

❯ astro deployment update clh99e4u112171jxd9l6zgkyc --dag-deploy 1
Error: Invalid --dag-deploy value)

~/code/astro/laminar dag-list-404-no-deployments*
❯ astro deployment update clh99e4u112171jxd9l6zgkyc --dag-deploy true
Error: Invalid --dag-deploy value)


~/code/astro/laminar dag-list-404-no-deployments*
❯ astro deployment update clh99e4u112171jxd9l6zgkyc --dag-deploy yes
Error: Invalid --dag-deploy value)

What CLI Version did you experience this bug?

This CLI bug is related to which Astronomer Platform?

  • [X] Astro
  • [ ] Software
  • [ ] None/Unknown

What Operating System is the above CLI installed on?

🪜 Steps To Reproduce

📸 Screenshots

sunkickr avatar May 04 '23 15:05 sunkickr

https://github.com/TheDiveO/enumflag might help.

ashb avatar May 04 '23 18:05 ashb