mirror of
https://github.com/coder/coder.git
synced 2026-06-03 13:08:25 +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
2.4 KiB
Generated
2.4 KiB
Generated
organizations
Organization related commands
Aliases:
- organization
- org
- orgs
Usage
coder organizations [flags] [subcommand]
Subcommands
| Name | Purpose |
|---|---|
show |
Show the organization. Using "selected" will show the selected organization from the "--org" flag. Using "me" will show all organizations you are a member of. |
list |
List all organizations |
create |
Create a new organization. |
delete |
Delete an organization |
members |
Manage organization members |
roles |
Manage organization roles. |
settings |
Manage organization settings. |
Options
-O, --org
| Type | string |
| Environment | $CODER_ORGANIZATION |
Select which organization (uuid or name) to use.