cli/pkg/cmd
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
..
alias Use testify assertions for error matching 2021-01-19 13:59:37 +01:00
api add IOStreams.ReadUserFile 2020-11-23 11:21:28 -08:00
auth More descriptive error when aborting auth due to environment variables 2021-01-20 18:27:35 +01:00
completion Improve completion docs for bash, zsh, fish 2020-12-16 16:57:28 +01:00
config Fix USAGE help for some commands 2020-11-13 10:10:53 -03:00
factory respect GH_HOST when resolving remotes (#2301) 2020-11-19 12:59:18 -06:00
gist Migrate legacy tests 2021-01-11 21:07:19 -03:00
issue Use testify assertions for error matching 2021-01-19 13:59:37 +01:00
pr Merge pull request #2794 from cristiand391/use-testify-assertion 2021-01-19 14:08:25 +01:00
release Ensure that only PATH is searched when shelling out to external commands 2020-11-11 16:33:13 +01:00
repo Use testify assertions for error matching 2021-01-19 13:59:37 +01:00
root implement gh secret create and gh secret list 2020-12-04 16:47:23 -08:00
secret do not process filename arguments 2020-12-14 10:44:26 -08:00
version Fix link in version output 2020-12-17 12:37:22 +01:00