made some changes to the structure

This commit is contained in:
2023-03-08 20:43:36 +01:00
parent 85218ba57f
commit e469576d2c

View File

@@ -3,10 +3,12 @@ use clap::{Parser, Subcommand};
#[derive(Parser)]
pub struct Args {
#[command(subcommand)]
command: Option<CommandArg>
command: CommandArg
}
#[derive(Subcommand)]
enum CommandArg {
Build,
Health,
InstallReveal
}