feat: added whomai cmd to coder cli (#13814)

* feat: added whomai cmd to coder cli
* refactor: update Coder CLI's whoami command to use client URL instead of deployment config
* feat(cli): add unit tests for the whoami command
* chore(docs): add coder command to fetch authenticated user info
* chore(doc): update help desc
This commit is contained in:
Jyotirmoy Bandyopadhayaya
2024-07-09 13:23:11 -05:00
committed by GitHub
parent 01b30eaa32
commit b07e3069dd
8 changed files with 103 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
<!-- DO NOT EDIT | GENERATED CONTENT -->
# whoami
Fetch authenticated user info for Coder deployment
## Usage
```console
coder whoami
```