mattytrentini / mpbuild

MicroPython build tool
MIT License
5 stars 3 forks source link

Interactive mode #4

Open mattytrentini opened 3 weeks ago

mattytrentini commented 3 weeks ago

Would be interesting to use Textual to make an interactive mode where the user can navigate through the list of ports/boards - displaying information about them - and then choose to build/clean etc.

Josverl commented 3 weeks ago

You could create a simpler UX using one of the inquirer modules without the need to go full out on textual

mattytrentini commented 3 weeks ago

True, and that's a reasonable option! Though an interactive Textual application isn't terribly complex and may be more appealing..?

Josverl commented 3 weeks ago

I found Textual a bit more than what I needed, but was already underway with click and rich-click, and just needed an input/choice/dropdown. I spend way more time on the mpflash TUI than I expected based on my Powershell TUI experience, where a lot of this is part of the language itself. So did not want to grow the effort any further.