nextsync/src/subcommands/test.rs
2024-09-14 21:33:11 +02:00

14 lines
315 B
Rust

use clap::{Arg, ArgAction, ArgMatches, Command};
use crate::commands;
use crate::commands::test::TestArgs;
use crate::config::config::Config;
pub fn create() -> Command {
Command::new("test").about("Test command")
}
pub fn handler(args: &ArgMatches) {
commands::test::exec(TestArgs {}, Config::new());
}