upbound / up

The @upbound CLI
Apache License 2.0
49 stars 42 forks source link

Hide robot-token flag in attach help #477

Closed branden closed 2 months ago

branden commented 2 months ago

Description of your changes

This PR hides the up space attach flag --robot-token from help output. Users shouldn't need to provide this flag since robot tokens should be generated for them. And familiarity with other up commands might mislead a user into thinking they need to provide a personal access token. This hides the potential stumbling block while keeping it around in case it's helpful for debugging or workarounds.

I have:

How has this code been tested

I ran go run ./cmd/up space attach -h and verified --robot-token wasn't in help output.