mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(cli): add more information to coder whoami (#19971)
Builds upon https://github.com/coder/coder/pull/19970 I got kinda carried away when I saw the extra stuff we could add in here, so I went ahead and added it: * User ID * Organization IDs * Roles This technically duplicates functionality from `coder users show` but I figure folks may find it useful.
This commit is contained in:
Generated
+4
-4
@@ -13,10 +13,10 @@ coder whoami [flags]
|
||||
|
||||
### -c, --column
|
||||
|
||||
| | |
|
||||
|---------|------------------------------|
|
||||
| Type | <code>[URL\|Username]</code> |
|
||||
| Default | <code>url,username</code> |
|
||||
| | |
|
||||
|---------|-----------------------------------------------|
|
||||
| Type | <code>[URL\|Username\|ID\|Orgs\|Roles]</code> |
|
||||
| Default | <code>url,username,id</code> |
|
||||
|
||||
Columns to display in table output.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user