chore: remove org context switcher in the cli (#13674)

* chore: remove org context switcher in the cli
This commit is contained in:
Steven Masley
2024-07-01 16:04:45 -05:00
committed by GitHub
parent 4a0fd7466c
commit 5bf46f360a
52 changed files with 353 additions and 362 deletions
+9
View File
@@ -100,3 +100,12 @@ Specify a file path with values for rich parameters defined in the template.
| Environment | <code>$CODER_RICH_PARAMETER_DEFAULT</code> |
Rich parameter default values in the format "name=value".
### -O, --org
| | |
| ----------- | -------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.
+9
View File
@@ -29,3 +29,12 @@ Set an avatar for a group.
| Environment | <code>$CODER_DISPLAY_NAME</code> |
Optional human friendly name for the group.
### -O, --org
| | |
| ----------- | -------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.
+12 -1
View File
@@ -11,5 +11,16 @@ Aliases:
## Usage
```console
coder groups delete <name>
coder groups delete [flags] <name>
```
## Options
### -O, --org
| | |
| ----------- | -------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.
+9
View File
@@ -52,3 +52,12 @@ Add users to the group. Accepts emails or IDs.
| Type | <code>string-array</code> |
Remove users to the group. Accepts emails or IDs.
### -O, --org
| | |
| ----------- | -------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.
+9
View File
@@ -29,3 +29,12 @@ Columns to display in table output. Available columns: name, display name, organ
| Default | <code>table</code> |
Output format. Available formats: table, json.
### -O, --org
| | |
| ----------- | -------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.
+9
View File
@@ -27,3 +27,12 @@ Bypass prompts.
| Type | <code>bool</code> |
Include all unused template versions. By default, only failed template versions are archived.
### -O, --org
| | |
| ----------- | -------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.
+9
View File
@@ -23,3 +23,12 @@ coder templates delete [flags] [name...]
| Type | <code>bool</code> |
Bypass prompts.
### -O, --org
| | |
| ----------- | -------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.
+9
View File
@@ -171,3 +171,12 @@ Disable the default behavior of granting template access to the 'everyone' group
| Type | <code>bool</code> |
Bypass prompts.
### -O, --org
| | |
| ----------- | -------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.
+9
View File
@@ -33,3 +33,12 @@ Columns to display in table output. Available columns: name, created at, last up
| Default | <code>table</code> |
Output format. Available formats: table, json.
### -O, --org
| | |
| ----------- | -------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.
+9
View File
@@ -43,3 +43,12 @@ The name of the template version to pull. Use 'active' to pull the active versio
| Type | <code>bool</code> |
Bypass prompts.
### -O, --org
| | |
| ----------- | -------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.
+9
View File
@@ -102,3 +102,12 @@ Ignore warnings about not having a .terraform.lock.hcl file present in the templ
| Type | <code>string</code> |
Specify a message describing the changes in this version of the template. Messages longer than 72 characters will be displayed as truncated.
### -O, --org
| | |
| ----------- | -------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.
+9
View File
@@ -19,3 +19,12 @@ coder templates versions archive [flags] <template-name> [template-version-names
| Type | <code>bool</code> |
Bypass prompts.
### -O, --org
| | |
| ----------- | -------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.
+9
View File
@@ -20,6 +20,15 @@ coder templates versions list [flags] <template>
Include archived versions in the result list.
### -O, --org
| | |
| ----------- | -------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.
### -c, --column
| | |
+9
View File
@@ -19,3 +19,12 @@ coder templates versions unarchive [flags] <template-name> [template-version-nam
| Type | <code>bool</code> |
Bypass prompts.
### -O, --org
| | |
| ----------- | -------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.
+9
View File
@@ -49,3 +49,12 @@ Specifies a password for the new user.
| Type | <code>string</code> |
Optionally specify the login type for the user. Valid values are: password, none, github, oidc. Using 'none' prevents the user from authenticating and requires an API key/token to be generated by an admin.
### -O, --org
| | |
| ----------- | -------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.