mod parse;
use clap::{Parser, Subcommand};
use crate::parse::ParseCommand;
#[derive(Parser, Debug)]
#[command(next_line_help = true)]
#[command(author, about)]
struct Cli {
#[command(subcommand)]
command: Commands,
}
#[derive(Subcommand, Debug)]
enum Commands {
Parse(ParseCommand),
}
fn main() {
match Cli::parse().command {
Commands::Parse(command) => command.execute(),
}
}
#[test]
fn verify_clap_cli() {
<Cli as clap::CommandFactory>::command().debug_assert();
}