cli/pkg/cmd/auth
Mislav Marohnić c9407b2629 More descriptive error when aborting auth due to environment variables
Old message:

    read-only token in GH_TOKEN cannot be modified

This message was vague and some users did not understand that this
refers to the value that is read from environment variables.

New message:

    $ GH_TOKEN=123 ghd auth login -h github.com
    The value of the GH_TOKEN environment variable is being used for authentication.
    To have GitHub CLI store credentials instead, first clear the value from the environment.
2021-01-20 18:27:35 +01:00
..
gitcredential Add tests for auth git-credential command 2020-12-07 20:01:53 +01:00
login More descriptive error when aborting auth due to environment variables 2021-01-20 18:27:35 +01:00
logout More descriptive error when aborting auth due to environment variables 2021-01-20 18:27:35 +01:00
refresh More descriptive error when aborting auth due to environment variables 2021-01-20 18:27:35 +01:00
shared More descriptive error when aborting auth due to environment variables 2021-01-20 18:27:35 +01:00
status Use testify assertions for error matching 2021-01-19 13:59:37 +01:00
auth.go If git credential helper is non-defined, set gh as credential helper 2020-11-23 20:20:05 +01:00