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

Function provider_profile_export

crates/openshell-cli/src/run.rs:5063–5076  ·  view source on GitHub ↗
(
    server: &str,
    id: &str,
    output: &str,
    tls: &TlsOptions,
)

Source from the content-addressed store, hash-verified

5061}
5062
5063pub async fn provider_profile_export(
5064 server: &str,
5065 id: &str,
5066 output: &str,
5067 tls: &TlsOptions,
5068) -> Result<()> {
5069 let rendered = provider_profile_export_text(server, id, output, tls).await?;
5070 if output == "json" {
5071 println!("{rendered}");
5072 } else {
5073 print!("{rendered}");
5074 }
5075 Ok(())
5076}
5077
5078pub async fn provider_profile_export_text(
5079 server: &str,

Calls 1