feat: implement feature to create a token on behalf of another user in the cli (#14813)

This PR addresses https://github.com/coder/coder/issues/13160
This commit is contained in:
Joobi S B
2024-09-30 20:15:28 +00:00
committed by GitHub
parent e70ad2b4b3
commit ba90bb0ab3
4 changed files with 73 additions and 3 deletions
+4
View File
@@ -12,5 +12,9 @@ OPTIONS:
-n, --name string, $CODER_TOKEN_NAME
Specify a human-readable name.
-u, --user string, $CODER_TOKEN_USER
Specify the user to create the token for (Only works if logged in user
is admin).
———
Run `coder --help` for a list of global options.