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

Function provider_list_accepts_output_json

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

Source from the content-addressed store, hash-verified

3983
3984 #[test]
3985 fn provider_list_accepts_output_json() {
3986 let cli = Cli::try_parse_from(["openshell", "provider", "list", "-o", "json"])
3987 .expect("provider list -o json should parse");
3988
3989 assert!(matches!(
3990 cli.command,
3991 Some(Commands::Provider {
3992 command: Some(ProviderCommands::List {
3993 output: OutputFormat::Json,
3994 ..
3995 })
3996 })
3997 ));
3998 }
3999
4000 #[test]
4001 fn provider_list_accepts_output_yaml() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected