MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / cli

Function cli

atomic-cli/tests/intent_evidence_replay_test.rs:15–21  ·  view source on GitHub ↗
(root: &Path, args: &[&str])

Source from the content-addressed store, hash-verified

13use serde_json::{json, Value};
14
15fn cli(root: &Path, args: &[&str]) -> std::process::Output {
16 Command::new(env!("CARGO_BIN_EXE_atomic"))
17 .args(args)
18 .current_dir(root)
19 .output()
20 .unwrap()
21}
22
23fn checker(body: &str) -> tempfile::TempPath {
24 let mut file = tempfile::NamedTempFile::new().unwrap();

Calls 2

unwrapMethod · 0.45
outputMethod · 0.45

Tested by

no test coverage detected