You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't go straight into the OAuth device flow as if the flag had not
been given at all, because that can be rather confusing in the case
where a developer used --token=${UNSET_VAR}.
An alternative would have been a custom pflag.Value implementaion
that recorded whether the string value was set via a boolean field.
However, that feels unnecessary given that looping over the set flags
is pretty easy and works with any flag of any type already.
The linear looping is fine given that we don't expect CLI users
to set more than a dozen or so flags at any time.
Fixes#3665.
Signed-off-by: Daniel Martí <[email protected]>
Change-Id: I7de34e3b3503d6fd495e10ec9f64851f2a6ddd11
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1207558
Unity-Result: CUE porcuepine <[email protected]>
Reviewed-by: Paul Jolly <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
0 commit comments