pub fn validate_input(kind: &QuestionKind, value: &str) -> Result<(), String>Expand description
Validate a typed input value against its question kind. Ok(()) means valid
(an empty value is treated as “skipped”). Pure — performs no filesystem I/O,
so Path { must_exist } is not enforced here.