fix: improve wording

Signed-off-by: Max Jonas Werner <mail@makk.es>
prompt-for-tokens
Max Jonas Werner 3 years ago
parent 0cf3f45f1e
commit 995df0f8fa
No known key found for this signature in database
GPG Key ID: 64826EEFFD7E0033

@ -112,7 +112,7 @@ func bootstrapGitHubCmdRun(cmd *cobra.Command, args []string) error {
ghToken := os.Getenv(ghTokenEnvVar)
if ghToken == "" {
var err error
ghToken, err = readPasswordFromStdin("Please type your GitHub personal access token: ")
ghToken, err = readPasswordFromStdin("Please enter your GitHub personal access token (PAT): ")
if err != nil {
return fmt.Errorf("could not read token: %w", err)
}

@ -109,7 +109,7 @@ func bootstrapGitLabCmdRun(cmd *cobra.Command, args []string) error {
glToken := os.Getenv(glTokenEnvVar)
if glToken == "" {
var err error
glToken, err = readPasswordFromStdin("Please type your GitLab personal access token: ")
glToken, err = readPasswordFromStdin("Please enter your GitLab personal access token (PAT): ")
if err != nil {
return fmt.Errorf("could not read token: %w", err)
}

Loading…
Cancel
Save