chore(cli): hide --organization (#12626)

It's potentially confusing to users since we aren't fleshing out organizations right now.
This commit is contained in:
Ammar Bandukwala 2024-03-18 09:09:26 -05:00 committed by GitHub
parent cf50461ab4
commit e5cc17af92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 1 additions and 18 deletions

View File

@ -447,6 +447,7 @@ func (r *RootCmd) Command(subcommands []*serpent.Command) (*serpent.Command, err
Env: "CODER_ORGANIZATION",
Description: "Select which organization (uuid or name) to use This overrides what is present in the config file.",
Value: serpent.StringOf(&r.organizationSelect),
Hidden: true,
Group: globalGroup,
},
{

View File

@ -82,10 +82,6 @@ variables or flags.
--no-version-warning bool, $CODER_NO_VERSION_WARNING
Suppress warning when client and server versions do not match.
-z, --organization string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use This overrides what is
present in the config file.
--token string, $CODER_SESSION_TOKEN
Specify an authentication token. For security reasons setting
CODER_SESSION_TOKEN is preferred.

View File

@ -157,13 +157,3 @@ Disable direct (P2P) connections to workspaces.
| Default | <code>~/.config/coderv2</code> |
Path to the global `coder` config directory.
### -z, --organization
| | |
| ----------- | -------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use This overrides what is present
in the config file.

View File

@ -48,10 +48,6 @@ variables or flags.
--no-version-warning bool, $CODER_NO_VERSION_WARNING
Suppress warning when client and server versions do not match.
-z, --organization string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use This overrides what is
present in the config file.
--token string, $CODER_SESSION_TOKEN
Specify an authentication token. For security reasons setting
CODER_SESSION_TOKEN is preferred.