forked from Cutieguwu/raven
Add clap version, authors; Update metadata.
This commit is contained in:
@@ -5,6 +5,8 @@ use clap::{ArgAction, Parser, Subcommand};
|
||||
pub static CONFIG: LazyLock<Args> = LazyLock::new(|| Args::parse());
|
||||
|
||||
#[derive(Debug, Parser)]
|
||||
#[clap(author, version)]
|
||||
#[command(help_template = "{author-section}\n{usage-heading} {usage}\n\n{all-args}")]
|
||||
pub struct Args {
|
||||
#[command(subcommand)]
|
||||
pub command: Command,
|
||||
|
||||
Reference in New Issue
Block a user