pub trait Prompt {
// Required methods
fn prompt(&self) -> String;
fn complete(
&self,
command: &str,
args: &[&str],
incomplete: &str,
) -> Vec<String>;
}
pub trait Prompt {
// Required methods
fn prompt(&self) -> String;
fn complete(
&self,
command: &str,
args: &[&str],
incomplete: &str,
) -> Vec<String>;
}