cli/internal/config
Mislav Marohnić c80292c2e8 Extend Config object with GITHUB_TOKEN support
Adding GITHUB_TOKEN & GITHUB_ENTERPRISE_TOKEN support orthogonal to
Config was getting out of hand, especially in `auth` commands that
adjust their messaging and error status based on the presence of these
environment variables.

The new approach builds in support for tokens from environment straight
into Config object by composition. Thus, commands need not ever be
concerned with any specific environment variables.
2020-09-07 21:33:26 +02:00
..
alias_config.go better get func 2020-06-05 13:09:04 -05:00
config_file.go Isolate all alias commands 2020-08-11 13:57:48 +02:00
config_file_test.go Avoid erroring when looking up config keys for nonexistent host 2020-08-12 15:33:26 +02:00
config_setup.go Ensure correct ANSI color output during OAuth flow on Windows 2020-09-01 12:31:36 +02:00
config_success.go move config stuff to its own package 2020-04-20 13:57:16 -05:00
config_type.go Extend Config object with GITHUB_TOKEN support 2020-09-07 21:33:26 +02:00
config_type_test.go test default configuration 2020-06-11 14:04:41 -05:00
from_env.go Extend Config object with GITHUB_TOKEN support 2020-09-07 21:33:26 +02:00
from_env_test.go Extend Config object with GITHUB_TOKEN support 2020-09-07 21:33:26 +02:00
testing.go Support hosts.yml existing while config.yml does not 2020-07-01 14:34:44 +02:00