use std::io;

fn main() {
    let mut input = String::new();

    while input.trim() != "exit" {
        println!("Enter a command (type 'exit' to quit):");
        input.clear();
        io::stdin().read_line(&mut input).unwrap();
    }

    println!("Program exited.");
}