pub fn boolean(text: &str, def: Option<bool>) -> QueryResult<bool>
Queries the user for boolean input, with an optional default.
Fails with io errors with the stdin or stdout.