webgraph_cli/check/
mod.rs

1/*
2 * SPDX-FileCopyrightText: 2024 Tommaso Fontana
3 *
4 * SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
5 */
6
7use anyhow::Result;
8use clap::Subcommand;
9
10use super::GlobalArgs;
11
12pub mod ef;
13
14#[derive(Subcommand, Debug)]
15#[command(name = "check")]
16/// Check coherence of files.
17pub enum SubCommands {
18    Ef(ef::CliArgs),
19}
20
21pub fn main(global_args: GlobalArgs, subcommand: SubCommands) -> Result<()> {
22    match subcommand {
23        SubCommands::Ef(args) => ef::main(global_args, args),
24    }
25}