davidferguson / pibakery

The blocks based, easy to use setup tool for Raspberry Pi
http://www.PiBakery.org
GNU General Public License v3.0
1.48k stars 146 forks source link

Feature request: block for interactive user input #80

Closed LowPowerLab closed 5 years ago

LowPowerLab commented 7 years ago

Would be great to have a block or a way to allow asking the user for input interactively, using whiptail for instance, into a variable that could be used in a later step. I tried doing this with RunCommand to invoke a slave whiptail dialog but the original PiBakery whiptail dialog stays on top (the slave one seems to be in the background and actually accepting input but not visible so its pointless):

HTTPUSER=$(whiptail --inputbox "Enter the http_auth username" 8 78 "username" --title "HTTP Auth setup" --nocancel 3>&1 1>&2 2>&3)

davidferguson commented 5 years ago

Apologies for the very long delay.

This won't be implemented. PiBakery is primarily used for headless setups, and therefore a block requiring user input would be an outlier.