MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / BashToolView

Class BashToolView

crates/opencode-tui/src/components/tool_call.rs:190–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190pub struct BashToolView {
191 pub command: String,
192 pub output: Option<String>,
193 pub exit_code: Option<i32>,
194 pub running: bool,
195}
196
197impl BashToolView {
198 pub fn new(command: String) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected