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

Function run_openclaw_command

src/openclaw_cli.rs:227–236  ·  view source on GitHub ↗
(
    runner: &mut R,
    args: &[&str],
)

Source from the content-addressed store, hash-verified

225}
226
227pub fn run_openclaw_command<R: OpenclawRunner>(
228 runner: &mut R,
229 args: &[&str],
230) -> Result<OpenclawCommandOutput, Box<dyn Error>> {
231 run_openclaw_raw(
232 runner,
233 args.iter().map(|s| (*s).to_string()).collect(),
234 OpenclawApprovalMode::PromptUser,
235 )
236}
237
238pub fn apply_onboard_openclaw_config<R: OpenclawRunner>(
239 runner: &mut R,

Callers 3

cmd_onboardFunction · 0.85

Calls 1

run_openclaw_rawFunction · 0.85

Tested by

no test coverage detected