Skip to main content

acts_on_a_repository

Function acts_on_a_repository 

Source
fn acts_on_a_repository(gh_args: &[String]) -> bool
Expand description

Whether a gh command is one that acts on a repository (a pull request, an issue, a run, a release, an API call…), so a repository it does not name and the working directory does not give leaves it with no token. gh --version, gh auth status, gh search and the like need none.