MCPcopy Create free account
hub / github.com/clawshell/clawshell / ok_output

Function ok_output

src/openclaw_cli.rs:707–714  ·  view source on GitHub ↗
(stdout: &str)

Source from the content-addressed store, hash-verified

705 const AUTO_MODE: OpenclawApprovalMode = OpenclawApprovalMode::AutoApprove;
706
707 fn ok_output(stdout: &str) -> Result<OpenclawCommandOutput, String> {
708 Ok(OpenclawCommandOutput {
709 success: true,
710 status_code: Some(0),
711 stdout: stdout.to_string(),
712 stderr: String::new(),
713 })
714 }
715
716 fn failed_output(code: i32, stderr: &str) -> Result<OpenclawCommandOutput, String> {
717 Ok(OpenclawCommandOutput {

Calls

no outgoing calls