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