Include the HTTP response headers in the output

gh api

  • Makes authenticated HTTP requests to the GitHub API and prints the response.
    More information: <https://cli.github.com/manual/gh_api>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

gh api --include {{endpoint}}

click the source code to copy install gh api on any operating system with command-not-found.com