Skip to content

Commit

Permalink
print the current org when calling whoami
Browse files Browse the repository at this point in the history
  • Loading branch information
aybabtme committed Oct 8, 2024
1 parent 88867d5 commit 8ba6c94
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 86 deletions.
1 change: 1 addition & 0 deletions cmd/humanlog/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func authCmd(
printFact("first name", res.Msg.User.FirstName)
printFact("last name", res.Msg.User.LastName)
printFact("registered since", res.Msg.User.CreatedAt.AsTime())
printFact("logged into org", res.Msg.CurrentOrganization.Name)

return nil
},
Expand Down
186 changes: 100 additions & 86 deletions vendor/github.com/humanlogio/api/go/svc/user/v1/service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8ba6c94

Please sign in to comment.