blob: 1b62a8470a1ae89d01b877bcd5b9cf12f03d64a7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
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
},
}
|