mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Add ability to use root flags after subcommands
This commit is contained in:
parent
77609be598
commit
f9e431e181
2 changed files with 8 additions and 9 deletions
|
|
@ -48,13 +48,13 @@ pub struct LoginMethod {
|
|||
#[arg(
|
||||
help = "Login with credentials (email and password). Must be provided as email:password"
|
||||
)]
|
||||
#[arg(long)]
|
||||
#[arg(global = true, long)]
|
||||
pub credentials: Option<String>,
|
||||
#[arg(help = "Login with the etp-rt cookie")]
|
||||
#[arg(
|
||||
long_help = "Login with the etp-rt cookie. This can be obtained when you login on crunchyroll.com and extract it from there"
|
||||
)]
|
||||
#[arg(long)]
|
||||
#[arg(global = true, long)]
|
||||
pub etp_rt: Option<String>,
|
||||
#[arg(help = "Login anonymously / without an account")]
|
||||
#[arg(long, default_value_t = false)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue