ddev / ddev

Docker-based local PHP+Node.js web development environments
https://ddev.com
Apache License 2.0
2.63k stars 590 forks source link

Rework DDEV UI as a TUI using Bubbletea #5762

Open rfay opened 7 months ago

rfay commented 7 months ago

Is there an existing issue for this?

Is your feature request related to a problem?

The DDEV command-line UI is hard for non-command-line users, and it's also a bit overgrown in places

Describe your solution

Rework the UI with a nicer interface using Bubbletea

See also

Describe alternatives

No response

Additional context

No response

rfay commented 7 months ago

@GuySartorelli you've been so inspiring with your work in this area, maybe this can be inspiring to you?

GuySartorelli commented 7 months ago

I could see this maybe being useful for ddev config - but I'm struggling to see how it would be useful for most commands. I think this might need some more details about what the goal is, what some acceptance criteria might be, what problems users have been facing that this could resolve, etc.

rfay commented 7 months ago

Would love to have you spend some time with it @GuySartorelli . It could be a much fancier way to show options and autocompletes, as well as things like ddev snapshot restore options. And prettier in general. Will be interested to see if it piques your interest.

rfay commented 7 months ago

The idea here would be to create a much more complete TUI, like a GUI, but text-only. It could show running projects and their state all the time, let you click on one and start/stop it, etc.