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

Function command

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

Source from the content-addressed store, hash-verified

13const KEY: &str = "TEST::tester::1";
14
15fn command(root: &Path, args: &[&str]) -> Command {
16 let mut command = Command::new(env!("CARGO_BIN_EXE_atomic"));
17 command
18 .current_dir(root)
19 .args(args)
20 .env("ATOMIC_SERVICE", "local")
21 .env_remove("ATOMIC_RPC");
22 command
23}
24fn success(output: Output) -> String {
25 assert!(
26 output.status.success(),

Calls

no outgoing calls

Tested by

no test coverage detected