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

Method drop

e2e/rust/tests/settings_management.rs:45–58  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

43
44impl Drop for GlobalSettingCleanup {
45 fn drop(&mut self) {
46 let _ = std::process::Command::new(openshell_bin())
47 .args([
48 "settings",
49 "delete",
50 "--global",
51 "--key",
52 self.key,
53 "--yes",
54 ])
55 .stdout(Stdio::null())
56 .stderr(Stdio::null())
57 .status();
58 }
59}
60
61async fn run_cli(args: &[&str]) -> CliResult {

Callers

nothing calls this directly

Calls 1

openshell_binFunction · 0.85

Tested by

no test coverage detected