Function cmdr::cmd_loop

source ·
pub fn cmd_loop(scope: &mut dyn Scope) -> CommandResult
Expand description

Execute a command loop for a scope. This is the main entry point to the cmdr library This function will take commands from the user and try to execute them against the supplied scope until one of the commands returns CommandResult::Quit