/gh-curl

:page_with_curl: Get an individual file's contents from a repository

Primary LanguageShellMIT LicenseMIT

gh curl

Get an individual file's contents from a repository with the GitHub CLI

Installation

gh extension install spenserblack/gh-curl

Usage

# in a repo
gh my-file

# to specify a different repo
gh user/other-repo my-file