cli/internal
Mislav Marohnić aec0f10041 Fix error message when using GH_ENTERPRISE_TOKEN but host is ambiguous
Before:

    $ GH_ENTERPRISE_TOKEN="..." gh pr create
    could not find hosts config: not found

Now:

    $ GH_ENTERPRISE_TOKEN="..." gh pr create
    set the GH_HOST environment variable to specify which GitHub host to use

Also amends `gh help environment` documentation to suggest the use of
GH_HOST when scripting operations with GitHub Enterprise repositories.
2021-07-20 14:11:07 +02:00
..
authflow Pass web browser to each individual command 2021-03-19 21:22:37 +01:00
build Move build to internal 2020-10-21 13:31:32 +02:00
config Fix error message when using GH_ENTERPRISE_TOKEN but host is ambiguous 2021-07-20 14:11:07 +02:00
docs Use T.TempDir for temporary dirs in tests (#3580) 2021-05-07 12:21:26 +02:00
ghinstance Default to GHES host if only GHES is authenticated (#3286) 2021-03-30 16:51:00 +02:00
ghrepo Add tests for quick fix 2021-04-02 08:42:19 -07:00
httpunix Add package httpunix 2021-06-25 11:26:21 -07:00
run Unpublish SetPrepareCmd 2021-01-28 21:59:30 +01:00
update Add support for LocalAppData and .local/state/ fallback 2021-06-01 15:50:10 -04:00