diff options
author | fxqnlr <[email protected]> | 2024-09-25 15:13:34 +0200 |
---|---|---|
committer | fxqnlr <[email protected]> | 2024-09-25 15:13:34 +0200 |
commit | d44041040d755306c39d6de8da5b42d7ded6808c (patch) | |
tree | d664c15e014aa36dc5735ec4be4919866fb6a9e5 /src/cli.rs | |
parent | 0ed94b3f011a2d3c22bdc4affb502720be22c371 (diff) | |
download | arbs-d44041040d755306c39d6de8da5b42d7ded6808c.tar arbs-d44041040d755306c39d6de8da5b42d7ded6808c.tar.gz arbs-d44041040d755306c39d6de8da5b42d7ded6808c.zip |
added notifications and improved stuff
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 |