MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / execute_command

Method execute_command

crates/openshell-tui/src/app.rs:2495–2501  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

2493 }
2494
2495 fn execute_command(&mut self) {
2496 let cmd = self.command_input.trim();
2497 match cmd {
2498 "q" | "quit" => self.running = false,
2499 _ => {}
2500 }
2501 }
2502
2503 // ------------------------------------------------------------------
2504 // Helpers

Callers 1

handle_command_keyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected