gh-org-list - Man Page
List organizations for the authenticated user.
Synopsis
gh org list [flags]
Options
- -L, --limit <int> (default 30)
Maximum number of organizations to list
Aliases
gh org ls
Exit Codes
0: Successful execution
1: Error
2: Command canceled
4: Authentication required
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.
Example
# List the first 30 organizations $ gh org list # List more organizations $ gh org list --limit 100
See Also
Referenced By
Dec 2024 GitHub CLI manual