mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 20:22:01 -06:00
Fix login command not working
This commit is contained in:
parent
d3837f2495
commit
99f96e3e35
2 changed files with 6 additions and 24 deletions
|
|
@ -11,8 +11,6 @@ use std::path::PathBuf;
|
|||
#[derive(Debug, clap::Parser)]
|
||||
#[clap(about = "Save your login credentials persistent on disk")]
|
||||
pub struct Login {
|
||||
#[clap(flatten)]
|
||||
pub login_method: LoginMethod,
|
||||
#[arg(help = "Remove your stored credentials (instead of saving them)")]
|
||||
#[arg(long)]
|
||||
pub remove: bool,
|
||||
|
|
@ -56,7 +54,7 @@ pub struct LoginMethod {
|
|||
#[arg(global = true, long)]
|
||||
pub etp_rt: Option<String>,
|
||||
#[arg(help = "Login anonymously / without an account")]
|
||||
#[arg(long, default_value_t = false)]
|
||||
#[arg(global = true, long, default_value_t = false)]
|
||||
pub anonymous: bool,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue