Wrap scopes

This commit is contained in:
Yukai Chou 2023-11-23 07:22:57 +08:00
parent 061ec2f51b
commit b14da6c63f
7 changed files with 7 additions and 7 deletions

View file

@ -63,7 +63,7 @@ func NewCmdLogin(f *cmdutil.Factory, runF func(*LoginOptions) error) *cobra.Comm
See %[1]sgh auth status%[1]s for its stored location.
Alternatively, use %[1]s--with-token%[1]s to pass in a token on standard input.
The minimum required scopes for the token are: "repo", "read:org".
The minimum required scopes for the token are: %[1]srepo%[1]s, %[1]sread:org%[1]s.
Alternatively, gh will use the authentication token found in environment variables.
This method is most suitable for "headless" use of gh such as in automation. See