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

Function cli

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

Source from the content-addressed store, hash-verified

49}
50
51fn cli(root: &Path, args: &[&str]) -> String {
52 let output = run(root, args);
53 assert!(
54 output.status.success(),
55 "{args:?}: {}",
56 output_text(&output)
57 );
58 String::from_utf8(output.stdout).unwrap()
59}
60
61fn init() -> tempfile::TempDir {
62 let root = tempfile::tempdir().unwrap();

Calls 2

runFunction · 0.70
unwrapMethod · 0.45

Tested by

no test coverage detected