#[cfg(not(target_env = "msvc"))]
#[global_allocator]
static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
use clap::{Parser, Subcommand};
mod manifest;
#[derive(Parser)]
#[command(name = "opendata-buffer", about = "CLI tools for opendata-buffer")]
struct Cli {
#[command(subcommand)]
command: Command,
}
#[derive(Subcommand)]
enum Command {
Manifest {
#[command(subcommand)]
command: manifest::ManifestCommand,
},
}
fn main() {
let cli = Cli::parse();
match cli.command {
Command::Manifest { command } => manifest::run(command),
}
}