feat(cli): add 'coder login token' command to print session token#21627
feat(cli): add 'coder login token' command to print session token#21627
Conversation
Adds a new subcommand to print the current session token for use in scripts and automation, similar to 'gh auth token'. Fixes #21515
Documentation CheckUpdates Needed
ContextThe PR adds a new
The auto-generated CLI docs at Automated review via Coder Tasks |
|
Can you update the description to only mention |
@matifali I've updated the docs and PR description. PTAL. |
There was a problem hiding this comment.
Thanks @kacpersaw, Looks good to me from a devEx perspective.
Adds a new subcommand to print the current session token for use in scripts and automation, similar to
gh auth token.Usage
CODER_SESSION_TOKEN=$(coder login token)Fixes #21515