cli/internal
Marwan Sulaiman a3940020f9
Inherit API endpoint configuration from the Codespaces environment (#4723)
gh codespace commands now respect the following environment variables:

- GITHUB_SERVER_URL: typically "https://github.com"
- GITHUB_API_URL: typically "https://api.github.com"
- INTERNAL_VSCS_TARGET_URL: typically "https://online.visualstudio.com"
- GITHUB_TOKEN when CODESPACES is set, even if the host connecting to isn't "github.com".

This set of changes ensures that `gh codespace` commands automatically connect to the right API endpoints when gh is used within a codespace.

Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-11-22 12:40:01 +01:00
..
authflow Enable gh auth login for github.localhost 2021-10-18 20:01:18 +02:00
build Move build to internal 2020-10-21 13:31:32 +02:00
codespaces Inherit API endpoint configuration from the Codespaces environment (#4723) 2021-11-22 12:40:01 +01:00
config Inherit API endpoint configuration from the Codespaces environment (#4723) 2021-11-22 12:40:01 +01:00
docs fix angle brackets 2021-11-17 13:33:34 -08:00
ghinstance Enable gh auth login for github.localhost 2021-10-18 20:01:18 +02:00
ghrepo Encode segments of gh browse resulting URL (#4663) 2021-11-18 13:10:55 +00: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 Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00