1 2 3 4 5 6 7 8 9 10
//! Basic command set
use super::Context;
use anyhow::Result;
/// Echo the given arguments back to the console
pub fn cmd_echo(_context: &mut Context, args: &[String]) -> Result<()> {
println!("{}", args.join(" "));
Ok(())
}
1 2 3 4 5 6 7 8 9 10
//! Basic command set
use super::Context;
use anyhow::Result;
/// Echo the given arguments back to the console
pub fn cmd_echo(_context: &mut Context, args: &[String]) -> Result<()> {
println!("{}", args.join(" "));
Ok(())
}