Skip to content

Commit e8fcb67

Browse files
Piskoomigmartri
andauthored
Update app/cli/cmd/root.go
Co-authored-by: Miguel Martinez Trivino <migmartri@gmail.com> Signed-off-by: Sylwester Piskozub <sylwesterpiskozub@gmail.com>
1 parent b1347c5 commit e8fcb67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/cli/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ func NewRootCmd(l zerolog.Logger) *cobra.Command {
153153

154154
// Warn users when the session is interactive, and the operation is supposed to use an API token instead
155155
if shouldAskForConfirmation(cmd) && isUserToken && !flagYes {
156-
logger.Warn().Msgf("You are running in user-attended mode. For automated workflows, use an API token instead.")
156+
logger.Warn().Msg("User-attended mode detected. This is intended for local testing only. For CI/CD or automated workflows, please use an API token.")
157157
if !confirmationPrompt(fmt.Sprintf("This command will run against the organization %q", orgName)) {
158158
return errors.New("command canceled by user")
159159
}

0 commit comments

Comments
 (0)