Get files in a repo

gh_file_get(
  repo = "GithubMetrics",
  org = "OpenPharma",
  file = "DESCRIPTION",
  return = "file",
  ...
)

Arguments

repo

The repo name.

org

The Github organisation name

file

The filename (or path with filename if not in root)

return

Defaults to returning file. Other option is "sha"

...

Pass down options to gh::gh()