cli/pkg
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
..
cmd Fix error message when using GH_ENTERPRISE_TOKEN but host is ambiguous 2021-07-20 14:11:07 +02:00
cmdutil Merge pull request #3870 from cli/extensions-revisited 2021-06-28 17:12:29 -07:00
export Extract JSON filtering functionality from gh api 2021-04-13 16:48:21 +02:00
extensions Add IsLocal helper func 2021-07-01 11:19:25 -07:00
findsh Improvements to gh extensions 2021-06-21 16:54:08 +02:00
githubsearch Add a unified GitHub Search query builder 2021-03-23 18:52:58 +01:00
githubtemplate Use T.TempDir for temporary dirs in tests (#3580) 2021-05-07 12:21:26 +02:00
httpmock Remove unused method from httpmock package 2021-06-14 09:39:14 -03:00
iostreams modified HexToRGB to check whether terminal and gh have color enabled, as well as created tests for HexToRGB 2021-07-03 17:09:25 -07:00
jsoncolor Fix "null" display in colored JSON output 2021-05-12 16:56:52 +02:00
markdown Enable emoji in markdown 2021-04-12 09:50:51 -07:00
prompt make prompt.Confirm stubbable 2021-06-08 15:49:37 -05:00
set Have StringSet preserve original order of values 2021-04-07 19:55:09 +02:00
surveyext Fix test flaky due to race in showing/hiding cursor 2021-06-14 10:58:53 +02:00
text Improve string display width calculation 2020-09-11 11:56:54 +02:00