style: Use Args instead of clap::Args

This commit is contained in:
Kiril Kovachev 2025-05-09 15:34:34 +01:00
parent c3da322a90
commit 09f9fd3703

View File

@ -1,6 +1,6 @@
use std::path::PathBuf;
use formatx::formatx;
use clap::{Parser, Subcommand};
use clap::{Args, Parser, Subcommand};
use mwbot::parsoid::WikiMultinode;
use dirs::config_dir;
@ -19,7 +19,7 @@ struct Cli {
action: Action,
}
#[derive(clap::Args, Debug, Clone, Eq, PartialEq, PartialOrd, Ord)]
#[derive(Args, Debug, Clone, Eq, PartialEq, PartialOrd, Ord)]
#[group(required = true, multiple = false)]
struct AuthMethodParse {
/// Specify the password of the bot