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

Function openshell_bin

e2e/rust/src/harness/binary.rs:31–39  ·  view source on GitHub ↗

Return the path to the `openshell` CLI binary. Expects the binary at ` /target/debug/openshell`. # Panics Panics if the binary is not found. Run `cargo build -p openshell-cli` (or `mise run e2e:rust`) first.

()

Source from the content-addressed store, hash-verified

29/// Panics if the binary is not found. Run `cargo build -p openshell-cli`
30/// (or `mise run e2e:rust`) first.
31pub fn openshell_bin() -> PathBuf {
32 let bin = workspace_root().join("target/debug/openshell");
33 assert!(
34 bin.is_file(),
35 "openshell binary not found at {} — run `cargo build -p openshell-cli` first",
36 bin.display()
37 );
38 bin
39}
40
41/// Create a [`tokio::process::Command`] pre-configured to invoke the
42/// `openshell` CLI.

Callers 3

openshell_cmdFunction · 0.85
openshell_tty_cmdFunction · 0.85
dropMethod · 0.85

Calls 1

workspace_rootFunction · 0.85

Tested by 1

dropMethod · 0.68