Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Add list users command #77

Merged
merged 2 commits into from
Jul 29, 2020
Merged

Add list users command #77

merged 2 commits into from
Jul 29, 2020

Conversation

cmoog
Copy link
Contributor

@cmoog cmoog commented Jul 27, 2020

Related to #76

Example Usage

$ coder users ls -o json | jq -c '.[] | select( .username == "charlie")' 
{"id":"5e8decf9-563f9fb3a7c02f6e0eafa422","email":"charlie@coder.com","username":"charlie","name":"Charlie","created_at":"2020-04-08T15:25:45.419609Z"}

$ coder users ls -o human | grep charlie
5e8decf9-563f9fb3a7c02f6e0eafa422        charlie@coder.com           charlie                                         Charlie   2020-04-08 15:25:45.419609 +0000 UTC

Copy link

@exvuma exvuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, I just left some comments around the output we expose to users

@cmoog cmoog force-pushed the users branch 2 times, most recently from ca1f7e6 to 8b8e21e Compare July 29, 2020 18:19
@cmoog cmoog merged commit 87c708a into master Jul 29, 2020
@cmoog cmoog deleted the users branch July 29, 2020 18:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants