Support alternative GitHub instances (GitHub Enterprise Server etc.) #10
Labels
blocked
Cannot be implemented until something else happens
enhancement
New feature or request therefor
low priority
Less important than other things
needs research
More information is required
labelmaker
should gain an--api-url
command-line option (defaulting to the value of theGITHUB_API_URL
envvar, falling back tohttps://api.github.com
) for specifying what GitHub API to interact with.A preliminary implementation of this was removed in commit 6702d94.
Problems:
The only repository URLs (whether HTTP URLs specified on the command line or SSH URLs retrieved from a local Git repository's remote) that
ghrepo
can parse are those that refer to the main GitHub instance.Given an API URL, how should the
--hostname
value to pass togh auth token
be determined?example.com
, thengh
will return that token for all queries of subdomains underexample.com
.As an alternative to
--api-url
, support could be added for specifying repositories in the formHOST/OWNER/REPO
à lagh
.The text was updated successfully, but these errors were encountered: