use clap::{Parser, Subcommand};
#[derive(Parser, Debug)]
#[command(name = "tutti", version, about = "Local service orchestrator")]
pub struct Cli {
#[command(subcommand)]
pub command: Commands,
}
#[derive(Subcommand, Debug)]
pub enum Commands {
Run {
#[arg(short, long)]
file: Option<String>,
services: Vec<String>,
#[arg(short, long)]
system_directory: Option<String>,
#[arg(short, long)]
kill_timeout: Option<u64>,
},
Daemon {
#[command(subcommand)]
cmd: DaemonCmd,
#[arg(short, long)]
system_directory: Option<String>,
},
}
#[derive(Subcommand, Debug)]
pub enum DaemonCmd {
Run,
Stop,
}