cli/context
Mislav Marohnić 767521c055 Stop providing AuthLogin from context
The login name of the authenticated user will be readily available only
if authentication info comes from the config file. With other upcoming
authentication modes (for example, the GITHUB_TOKEN environment
variable), the token is the only piece of information we got, so we
would need to additionally query for the login name.

Since `issue status` and `pr status` are the only commands that need the
name of the authenticated user right now, have those commands explicitly
query for the login name. This results in an additional API query, but
simplifies Context implementation and future authentication approaches.
2020-05-20 17:09:13 +02:00
..
blank_context.go Stop providing AuthLogin from context 2020-05-20 17:09:13 +02:00
context.go Stop providing AuthLogin from context 2020-05-20 17:09:13 +02:00
remote.go Fix parsing non-GitHub remotes 2020-01-28 19:51:44 +01:00
remote_test.go Replace FakeHTTP with httpmock which is now compatible 2020-05-07 15:19:14 +02:00