Get list of organizations for a specified user
Open
core
enhancement
gh-org
- Dominant language
- Go
- Stars
- 46.3k
- Forks
- 9k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 89
Description
### Describe the feature or problem you’d like to solve
Get list of organizations for a specified user.
### Proposed solution
- At this time, there's a `org list` command that fetches the list of organizations for the currently authenticated user: https://docs.github.com/en/rest/orgs/orgs?apiVersion=2022-11-28#list-organizations-for-the-authenticated-user
- But it'd be nice to implement a `--user` flag to fetch organizations for a specified user: https://docs.github.com/en/rest/orgs/orgs?apiVersion=2022-11-28#list-organizations-for-a-user
### Additional context
- `--user` (`-u`) flag matches the implementation on `run list` command.
Contributor guide
Assessment
This issue has not been assessed yet.