This PR adds support for the GH_HOME environment variable to the CurrentRepository function. To support this new functionality I added a new function Parse to the new repository package. The Parse function is exported as the operation of parsing a string into its repository information seems like a useful utility for extension authors to have.
This PR adds support for the
GH_HOME
environment variable to theCurrentRepository
function. To support this new functionality I added a new functionParse
to the newrepository
package. TheParse
function is exported as the operation of parsing a string into its repository information seems like a useful utility for extension authors to have.Closes https://github.com/cli/go-gh/issues/8