NO_INTERACTIVE env variable to fail fast interactive commands on CI
Something like DEBIAN_FRONTEND=noninteractive, that disables all interactiveness in case the env variable is set.
What would you like the behaviour to be in the case that it's non interactive? for example here I see there is a prompt with a default value, should the input function return a Result::Error or should it return the default to the calling function? Or should each function that uses input check if input is enabled? (I definitely don't like this option)
According to https://askubuntu.com/a/972528, DEBIAN_FRONTEND=noninteractive will answer all questions with the default response. To not cause surprises, I would stick with this behavior.