blob: 6ffe03f7230fd2d734b253858d0584b1c8a7af41 (
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
|
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,
}
|