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
I'd say version one makes more sense, it's cleaner and more explicit which helps IMO.
I could see how version two could work by allowing to pass arbitrary parameters to the gcloud function:
But I think I prefer version one for essential flags like "allow-unauthenticated" but if you also want to add "addtl_args" on top of that I'd be fine with that.
Hello,
I would like to use the
--allow-unauthenticated
flag that is available in the CLI (docs here).If it were like the other flags currently support, which require a key and value, I would know what needs to change.
However, this flag doesn't take in any value. As such, I'm not sure what the best way to approach this is (I'm not terribly well versed in go).
From what I gather, there are 2 options:
allow-unauthenticated
as a setting--clear-max-instances
and--clear-vpc-connector
In either case, that comes to the question of how to support flags that don't accept any value.
These two options are relatively frictionless:
inputless_args
(or preferably something better) that takes in an array of strings that will be added as flags.Let me know your thoughts!
Thanks so much for sharing project with the world!
The text was updated successfully, but these errors were encountered: