use std::io::{self, Write};

fn main() {
    println!("Welcome to Chifir!");
    println!("");
    println!("Type 'help' to get started.");

    loop {
        print!("> ");
        io::stdout().flush().unwrap();

        let mut command = String::new();

        io::stdin().read_line(&mut command).expect("Failed to read command");

        match command.trim() {
            "help" => println!("help, quit"),
            "quit" => break,
            _ => continue
        }
    }
}

mod machine;

use std::io::{self, Write};

fn main() {
    println!("Welcome to Chifir!");
    println!("");
    println!("Type 'help' to get started.");

    loop {
        print!("> ");
        io::stdout().flush().unwrap();

        let mut command = String::new();

        io::stdin().read_line(&mut command).expect("Failed to read command");

        match command.trim() {
            "help" => println!("help, quit"),
            "quit" => break,
            _ => continue
        }
    }
}

Include the "machine" module so the tests run.
Include the "machine" module so the tests run.
