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

Function settings_get_global_parses

crates/openshell-cli/src/main.rs:4343–4356  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4341
4342 #[test]
4343 fn settings_get_global_parses() {
4344 let cli = Cli::try_parse_from(["openshell", "settings", "get", "--global"])
4345 .expect("settings get --global should parse");
4346
4347 match cli.command {
4348 Some(Commands::Settings {
4349 command: Some(SettingsCommands::Get { name, global, .. }),
4350 }) => {
4351 assert!(global);
4352 assert!(name.is_none());
4353 }
4354 other => panic!("expected settings get command, got: {other:?}"),
4355 }
4356 }
4357
4358 #[test]
4359 fn policy_get_json_output_parses() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected