mirror of https://github.com/coder/coder.git
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:
parent
cf50461ab4
commit
e5cc17af92
|
@ -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,
|
||||
},
|
||||
{
|
||||
|
|
|
@ -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.
|
||||
|
|
10
docs/cli.md
10
docs/cli.md
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue