cli/pkg/cmd/auth
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
..
client remove vestigial return from HasMinimumScopes 2020-08-11 16:33:13 -05:00
login Extend Config object with GITHUB_TOKEN support 2020-09-07 21:33:26 +02:00
logout Extend Config object with GITHUB_TOKEN support 2020-09-07 21:33:26 +02:00
refresh Extend Config object with GITHUB_TOKEN support 2020-09-07 21:33:26 +02:00
status Extend Config object with GITHUB_TOKEN support 2020-09-07 21:33:26 +02:00
auth.go print nice login message when no auth detected 2020-08-18 17:57:52 -05:00