Function slos_hosted::repl::run_repl[][src]

pub fn run_repl<'a, T>(
    context: T,
    cmds: HashMap<String, HashMap<String, Box<Callback<T>>>>
) -> Result<T>
Expand description

Run the REPL with the given command list

Type parameter T is the command context (generally Context), and all command callbacks must use the same command context type.