diff options
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -2,8 +2,6 @@ use std::path::PathBuf; | |||
2 | 2 | ||
3 | use clap::{Parser, Subcommand}; | 3 | use clap::{Parser, Subcommand}; |
4 | 4 | ||
5 | use crate::packages::Manager; | ||
6 | |||
7 | #[derive(Parser)] | 5 | #[derive(Parser)] |
8 | pub struct Cli { | 6 | pub struct Cli { |
9 | #[arg(short, long)] | 7 | #[arg(short, long)] |
@@ -16,10 +14,7 @@ pub struct Cli { | |||
16 | #[derive(Subcommand)] | 14 | #[derive(Subcommand)] |
17 | pub enum Subcommands { | 15 | pub enum Subcommands { |
18 | GenerateConfig, | 16 | GenerateConfig, |
19 | Save { | 17 | Save, |
20 | #[arg(short, long)] | ||
21 | package_manager: Option<Manager>, | ||
22 | }, | ||
23 | Restore { | 18 | Restore { |
24 | #[arg(short, long)] | 19 | #[arg(short, long)] |
25 | package_install: bool | 20 | package_install: bool |