feat: implement global flag for org selection (#12276)

* feat: implement global flag for org selection

Any command can use '-z' to override org context
This commit is contained in:
Steven Masley
2024-02-26 11:38:49 -06:00
committed by GitHub
parent 5a41385400
commit 748cf4b2c4
5 changed files with 89 additions and 30 deletions
+10
View File
@@ -130,6 +130,16 @@ Suppress warnings about unlicensed features.
Suppress warning when client and server versions do not match.
### -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.
### --token
| | |