Open masnax opened 3 months ago
Looks great. Another feature that would be handy for the new password input as part of trust establishment is auto completion. Do you know if this is supported?
We can use a wordlist that contains only words with unique first two characters. So typing the password on the other side would be very convenient.
I've been thinking of using https://github.com/charmbracelet/bubbletea to revamp the
microcloud init
command sequence a bitOne possible idea is having submenus rather than a sequence of questions, like this: https://github.com/charmbracelet/bubbletea/tree/master/examples#multiple-text-inputs
But instead of text inputs, we can put the storage & network questions behind these labelled submenus:
This would make the setup a bit clearer, and incompatibilities like incorrectly configured network interfaces can be noticed immediately rather than halfway down the question sequence. As well, if something is misconfigured,
Deploy MicroCloud
can error out and return to the submenu selection page so the user can fix the configuration.