pub fn prompt_gen(prompt: &str, expected: &[&str]) -> bool
Expand description

Generic prompt implementation: print out the prompt, read a line of input, and return whether it matches expected or not.