get-team

Fetch a team by slug

Auth

Authenticated Owner Scope

Example

ghit-cli get-team platform

Expected Response

Prints a single JSON object from the API.

Errors

  • 404 Not Found when the referenced resource does not exist.
  • 403 Forbidden when owner/repo access checks fail.

Common auth errors are documented on the CLI overview page.

Help Output

Fetch a team by slug

Usage: ghit-cli get-team <TEAM_SLUG>

Arguments:
  <TEAM_SLUG>  Team slug

Options:
  -h, --help  Print help