-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from AmineZouitine/refacto
Refacto
- Loading branch information
Showing
7 changed files
with
51 additions
and
38 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
use clap::Parser; | ||
|
||
|
||
#[derive(Parser,Default,Debug)] | ||
pub struct Arguments { | ||
pub files: Vec<String>, | ||
#[clap(short, long)] | ||
pub is_force: Option<>, // -f --force | ||
// pub confirmation: Confirmation, | ||
// pub is_recursive: Option, // -r -R --recursive | ||
// #[clap(short, long)] | ||
// pub is_empty_dir: Option, // -d --dir | ||
// #[clap(short, long)] | ||
// pub is_verbose: OPTION, // -v --verbose | ||
// // pub is_help: Option, // -h --help | ||
// #[clap(short, long)] | ||
// pub is_trash_display: Option, // rmt trash_display or rmt td | ||
// #[clap(short, long)] | ||
// pub is_trash_info: Option, // rmt trash_info or rmt ti | ||
// #[clap(short, long)] | ||
// pub is_trash_flush: Option, // rmt trash_flush or rmt tf | ||
// #[clap(short, long)] | ||
// pub is_destroy: Option, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters