shorten cli entry command derive
This commit is contained in:
parent
69b6bf9d0f
commit
283c6a7dd6
1 changed files with 1 additions and 3 deletions
|
@ -6,9 +6,7 @@ fn main() {
|
|||
}
|
||||
|
||||
#[derive(Parser)]
|
||||
#[command(version)]
|
||||
#[command(author)]
|
||||
#[command(about)]
|
||||
#[command(version, author, about)]
|
||||
struct Cli {
|
||||
name: String,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue