Status: ✅ Done (2026-02-17)
Show authenticated user information and their available organizations.
codacy info
codacy info --output json
getUser—AccountService.getUser()listUserOrganizations—AccountService.listUserOrganizations()
Both calls are made in parallel via Promise.all.
| Field | Source |
|---|---|
| Name | user.name |
user.email |
|
| Other Emails | user.emails (comma-separated) |
| Administrator | user.isAdmin |
| Active | user.status === 'active' |
| Column | Source |
|---|---|
| Name | org.name |
| Provider | org.provider (mapped via utils/providers.ts) |
| Type | org.type |
| Join Status | org.joinStatus |
Shows pagination warning if more pages exist.
File: src/commands/info.test.ts — 4 tests.