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)] #[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
} }