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

Method command

crates/opencode-plugin/src/subprocess/runtime.rs:15–21  ·  view source on GitHub ↗

The executable name.

(&self)

Source from the content-addressed store, hash-verified

13impl JsRuntime {
14 /// The executable name.
15 pub fn command(&self) -> &'static str {
16 match self {
17 Self::Bun => "bun",
18 Self::Deno => "deno",
19 Self::Node => "node",
20 }
21 }
22
23 /// Arguments to run a TS file.
24 pub fn run_args(&self, script: &str) -> Vec<String> {

Callers 3

detect_runtimeFunction · 0.80
runtime_pathFunction · 0.80
spawnMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected