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

Function gateway_list_accepts_output_json

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

Source from the content-addressed store, hash-verified

3953
3954 #[test]
3955 fn gateway_list_accepts_output_json() {
3956 let cli = Cli::try_parse_from(["openshell", "gateway", "list", "-o", "json"])
3957 .expect("gateway list -o json should parse");
3958
3959 assert!(matches!(
3960 cli.command,
3961 Some(Commands::Gateway {
3962 command: Some(GatewayCommands::List {
3963 output: OutputFormat::Json,
3964 })
3965 })
3966 ));
3967 }
3968
3969 #[test]
3970 fn gateway_list_accepts_output_yaml() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected