use anyhow::Result;
use clap::Subcommand;
use super::GlobalArgs;
pub mod bf_visit;
pub mod bvgraph;
#[derive(Subcommand, Debug)]
#[command(name = "bench")]
pub enum SubCommands {
Bvgraph(bvgraph::CliArgs),
BFVisit(bf_visit::CliArgs),
}
pub fn main(global_args: GlobalArgs, subcommand: SubCommands) -> Result<()> {
match subcommand {
SubCommands::Bvgraph(args) => bvgraph::main(global_args, args),
SubCommands::BFVisit(args) => bf_visit::main(global_args, args),
}
}