feat(service): started service
This commit is contained in:
13
src/subcommands/test.rs
Normal file
13
src/subcommands/test.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
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());
|
||||
}
|
||||
Reference in New Issue
Block a user