made some changes to the structure
This commit is contained in:
@@ -3,10 +3,12 @@ use clap::{Parser, Subcommand};
|
|||||||
#[derive(Parser)]
|
#[derive(Parser)]
|
||||||
pub struct Args {
|
pub struct Args {
|
||||||
#[command(subcommand)]
|
#[command(subcommand)]
|
||||||
command: Option<CommandArg>
|
command: CommandArg
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Subcommand)]
|
#[derive(Subcommand)]
|
||||||
enum CommandArg {
|
enum CommandArg {
|
||||||
Build,
|
Build,
|
||||||
|
Health,
|
||||||
|
InstallReveal
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user