summaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2024-09-25 15:13:34 +0200
committerfxqnlr <[email protected]>2024-09-25 15:13:34 +0200
commitd44041040d755306c39d6de8da5b42d7ded6808c (patch)
treed664c15e014aa36dc5735ec4be4919866fb6a9e5 /src/cli.rs
parent0ed94b3f011a2d3c22bdc4affb502720be22c371 (diff)
downloadarbs-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.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 1b62a84..588b6b0 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -2,8 +2,6 @@ use std::path::PathBuf;
2 2
3use clap::{Parser, Subcommand}; 3use clap::{Parser, Subcommand};
4 4
5use crate::packages::Manager;
6
7#[derive(Parser)] 5#[derive(Parser)]
8pub struct Cli { 6pub struct Cli {
9 #[arg(short, long)] 7 #[arg(short, long)]
@@ -16,10 +14,7 @@ pub struct Cli {
16#[derive(Subcommand)] 14#[derive(Subcommand)]
17pub enum Subcommands { 15pub 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