use std::path::PathBuf; use clap::{Parser, Subcommand}; #[derive(Parser)] pub struct Cli { #[arg(short, long)] pub config: Option, #[command(subcommand)] pub subcommand: Subcommands, } #[derive(Subcommand)] pub enum Subcommands { GenerateConfig, Save, Restore { #[arg(short, long)] package_install: bool }, }