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