pub fn get_line() -> Option<String>Expand description
Get line as std::string::String
ยงExample - Echo utf-8 text
use cli_helper::cli::get_line;
fn echo() {
println!("Echo: {}", get_line().expect("Your input was likely not UTF-8"))
}pub fn get_line() -> Option<String>Get line as std::string::String
use cli_helper::cli::get_line;
fn echo() {
println!("Echo: {}", get_line().expect("Your input was likely not UTF-8"))
}