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

Function provider_list_accepts_output_yaml

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

Source from the content-addressed store, hash-verified

3999
4000 #[test]
4001 fn provider_list_accepts_output_yaml() {
4002 let cli = Cli::try_parse_from(["openshell", "provider", "list", "-o", "yaml"])
4003 .expect("provider list -o yaml should parse");
4004
4005 assert!(matches!(
4006 cli.command,
4007 Some(Commands::Provider {
4008 command: Some(ProviderCommands::List {
4009 output: OutputFormat::Yaml,
4010 ..
4011 })
4012 })
4013 ));
4014 }
4015
4016 #[test]
4017 fn provider_list_output_conflicts_with_names() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected