#[cfg(test)] mod tests { use crate::*; #[test] fn tests() { dbg!(parse_args("Hello world".to_string(), 0x00)); } } /// Parses the command line arguments into a list of parameters. pub fn parse_args(args: String, mode: u8) -> Vec { match mode { /// Returns exact input string. 0x00 => {vec![args]}, /// Seperates all strings 0x07 => { }, /// 0x10 => { }, _ => panic!("Unexpected input") } }