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
+3
View File
@@ -10,6 +10,9 @@ USAGE:
$ coder create <username>/<workspace_name>
OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.
--automatic-updates string, $CODER_WORKSPACE_AUTOMATIC_UPDATES (default: never)
Specify automatic updates setting for the workspace (accepts 'always'
or 'never').
+3
View File
@@ -6,6 +6,9 @@ USAGE:
Archive unused or failed template versions from a given template(s)
OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.
--all bool
Include all unused template versions. By default, only failed template
versions are archived.
+3
View File
@@ -8,6 +8,9 @@ USAGE:
Aliases: rm
OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.
-y, --yes bool
Bypass prompts.
+3
View File
@@ -6,6 +6,9 @@ USAGE:
Edit the metadata of a template by name.
OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.
--activity-bump duration
Edit the template activity bump - workspaces created from this
template will have their shutdown time bumped by this value when
+3
View File
@@ -8,6 +8,9 @@ USAGE:
Aliases: ls
OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.
-c, --column string-array (default: name,last updated,used by)
Columns to display in table output. Available columns: name, created
at, last updated, organization id, provisioner, active version id,
+3
View File
@@ -6,6 +6,9 @@ USAGE:
Download the active, latest, or specified version of a template to a path.
OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.
--tar bool
Output the template as a tar archive to stdout.
+3
View File
@@ -6,6 +6,9 @@ USAGE:
Create or update a template from the current directory or as specified by flag
OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.
--activate bool (default: true)
Whether the new template will be marked active.
@@ -7,6 +7,9 @@ USAGE:
Archive a template version(s).
OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.
-y, --yes bool
Bypass prompts.
@@ -6,6 +6,9 @@ USAGE:
List all the versions of the specified template
OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.
-c, --column string-array (default: Name,Created At,Created By,Status,Active)
Columns to display in table output. Available columns: name, created
at, created by, status, active, archived.
@@ -7,6 +7,9 @@ USAGE:
Unarchive a template version(s).
OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.
-y, --yes bool
Bypass prompts.
+3
View File
@@ -4,6 +4,9 @@ USAGE:
coder users create [flags]
OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.
-e, --email string
Specifies an email address for the new user.