use std::io; use std::process; fn main() -> io::Result<()> { println!("Current config: '{}'", conf_embed::get_config()?); println!("Enter a new config:"); let mut buf = String::new(); io::stdin().read_line(&mut buf)?; println!("Setting new config..."); conf_embed::new_config(&buf)?; println!("Config set, exiting."); process::exit(0); }