Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(cli): add formatting options to coder whoami#19970

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
johnstcn merged 1 commit intomainfromcj/cli/whoami-format
Sep 26, 2025

Conversation

johnstcn
Copy link
Member

This addresses a long-standing gripe of mine: to get your logged in username you would have to do

coder whoami| awk'{print $9}'

This allows you to do:

coder whoami -o json | jq -r '.username'

or

coder whoami -f table -c username

@johnstcnjohnstcn merged commit930bbaf intomainSep 26, 2025
35 checks passed
@johnstcnjohnstcn deleted the cj/cli/whoami-format branchSeptember 26, 2025 08:33
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsSep 26, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@brettkolodnybrettkolodnybrettkolodny approved these changes

Assignees

@johnstcnjohnstcn

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@johnstcn@brettkolodny

[8]ページ先頭

©2009-2025 Movatter.jp