zilliz 1.3.0

TUI and CLI tool for managing Zilliz Cloud clusters and Milvus operations
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::cli::formatter;

pub fn run(output_format: &str) {
    let version = env!("CARGO_PKG_VERSION");
    match output_format {
        "json" => {
            let data = serde_json::json!({"version": version});
            println!("{}", formatter::format_json(&data));
        }
        _ => {
            println!("zilliz {}", version);
        }
    }
}