mirror of
https://github.com/coder/coder.git
synced 2026-06-03 04:58:23 +00:00
0a840e48fd
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.
17 lines
364 B
Plaintext
17 lines
364 B
Plaintext
coder v0.0.0-devel
|
|
|
|
USAGE:
|
|
coder whoami [flags]
|
|
|
|
Fetch authenticated user info for Coder deployment
|
|
|
|
OPTIONS:
|
|
-c, --column [URL|Username|ID|Orgs|Roles] (default: url,username,id)
|
|
Columns to display in table output.
|
|
|
|
-o, --output text|json|table (default: text)
|
|
Output format.
|
|
|
|
———
|
|
Run `coder --help` for a list of global options.
|