get-user

Fetch a user by username

Auth

Staff Self

Example

ghit-cli get-user alice

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 user by username

Usage: ghit-cli get-user <USERNAME>

Arguments:
  <USERNAME>  Username

Options:
  -h, --help  Print help