cli/command
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
..
completion.go Improve user-friendliness of completion command 2020-04-07 16:58:50 +02:00
completion_test.go Update all calls to RunCommand 2020-05-05 09:20:01 -07:00
config.go cosmetic 2020-05-19 12:03:56 +09:00
config_test.go Update all calls to RunCommand 2020-05-05 09:20:01 -07:00
credits.go review feedback 2020-05-08 14:29:50 -05:00
issue.go Stop providing AuthLogin from context 2020-05-20 17:09:13 +02:00
issue_test.go Stop providing AuthLogin from context 2020-05-20 17:09:13 +02:00
pr.go Stop providing AuthLogin from context 2020-05-20 17:09:13 +02:00
pr_checkout.go pass apiClient to determineBaseRepo 2020-05-15 15:29:33 -05:00
pr_checkout_test.go Update all calls to RunCommand 2020-05-05 09:20:01 -07:00
pr_create.go Fix metadata resolver query 2020-05-12 16:48:30 +02:00
pr_create_test.go Merge remote-tracking branch 'origin/master' into issue-metadata-resolve-ids 2020-05-13 17:20:37 +02:00
pr_diff.go better names 2020-05-19 14:08:20 -05:00
pr_diff_test.go properly handle REST errors 2020-05-19 11:58:49 -05:00
pr_review.go pass apiClient to determineBaseRepo 2020-05-15 15:29:33 -05:00
pr_review_test.go tyop fix + stricter switch 2020-05-11 17:39:52 -05:00
pr_test.go Stop providing AuthLogin from context 2020-05-20 17:09:13 +02:00
repo.go Merge pull request #943 from cli/reauth-bug 2020-05-18 13:16:07 +02:00
repo_test.go Update all calls to RunCommand 2020-05-05 09:20:01 -07:00
root.go Merge pull request #943 from cli/reauth-bug 2020-05-18 13:16:07 +02:00
root_test.go respect ssh 2020-04-22 14:21:01 -05:00
testing.go Merge pull request #874 from cli/httpmock 2020-05-08 17:34:57 +02:00
title_body_survey.go reenable skipping body prompt for pr/issue 2020-05-18 10:23:20 -05:00