Closed phil-opp closed 3 months ago
Could be good to represent them within a table format instead of a list format in line with docker ps
:
See: https://docs.docker.com/reference/cli/docker/container/ls/
We could list running dataflow first and finished dataflow at the end.
For the tab we can probably just use this: https://github.com/BurntSushi/tabwriter
Good idea! Implemented in cdb3123f.
The output now looks like this:
❯ dora list
UUID Name Status
01903615-7737-7e5f-8c28-3670b8a66c30 roasted-stove FAILED
01903616-4be7-7150-a47f-be39e88d9e5a proud-angle finished
Sure, I renamed the status fields in d2e2eef9. I also refactored the message a bit in 262f39fb to make the ordering more consistent (failed and succeeded dataflows are now listed chronologically instead of in separate groups).
Feel free to merge if this looks good to you now!
List failed and finished dataflows on
dora list
, in addition to the active ones. This makes it easier to find out whether a started dataflow was successful or not.Example Output: