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