Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async-trait = "0.1"
bytes = "1"
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
clap = { version = "4.5", features = ["std", "string", "derive", "env"] }
cli-engine = { version = "0.10.3", features = ["pkce-auth"] }
cli-engine = { version = "0.10.4", features = ["pkce-auth"] }
dirs = "6"
domains-client = { path = "domains-client" }
email-client = { path = "email-client" }
Expand Down
7 changes: 7 additions & 0 deletions rust/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ async fn main() -> ExitCode {
.with_default_auth_provider("godaddy")
.with_auth_provider(auth_provider)
.with_auth_extra_commands([scopes::auth_scopes_command()])
// gddy registers a single provider, so `provider` is not useful to
// display by default, and the granted scope list is long enough to
// truncate in `auth status` human output. Both stay available via
// `--fields provider,scopes`; `auth login` still shows the scopes
// it just granted.
.with_auth_status_default_fields("identity,expires_at,env,expired,refreshable")
.with_auth_login_default_fields("identity,expires_at,env,refreshable,scopes")
.with_min_stage(cli_engine::Stage::Ga)
.with_environments(Arc::clone(environments::instance()))
.with_root_next_actions(Arc::new(|| {
Expand Down
Loading