mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
683a7c0957
follows on from #21940. The API endpoints existed for this already, so this PR just adds CLI functionality which uses those API endpoints. Generated with the help of Mux
949 B
Generated
949 B
Generated
organizations list
List all organizations
Aliases:
- ls
Usage
coder organizations list [flags]
Description
List all organizations. Requires a role which grants ResourceOrganization: read.
Options
-c, --column
| Type | [id|name|display name|icon|description|created at|updated at|default] |
| Default | name,display name,id,default |
Columns to display in table output.
-o, --output
| Type | table|json |
| Default | table |
Output format.