Make path the a primary argument
This commit is contained in:
parent
7a06c4cea7
commit
63cf6aeaf4
1 changed files with 2 additions and 3 deletions
|
@ -3,12 +3,11 @@ use clap::Parser;
|
||||||
#[derive(Parser, Debug)]
|
#[derive(Parser, Debug)]
|
||||||
#[clap(author, version, about, long_about = None)]
|
#[clap(author, version, about, long_about = None)]
|
||||||
pub struct Args {
|
pub struct Args {
|
||||||
|
pub path: String,
|
||||||
|
|
||||||
#[clap(long, value_parser)]
|
#[clap(long, value_parser)]
|
||||||
pub no_emoji: bool,
|
pub no_emoji: bool,
|
||||||
|
|
||||||
#[clap(long, value_parser)]
|
#[clap(long, value_parser)]
|
||||||
pub show_success: bool,
|
pub show_success: bool,
|
||||||
|
|
||||||
#[clap(long, value_parser)]
|
|
||||||
pub path: String,
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue