diff --git a/app/cli/cmd/root.go b/app/cli/cmd/root.go index b06e59375..ab4d2a6b8 100644 --- a/app/cli/cmd/root.go +++ b/app/cli/cmd/root.go @@ -153,6 +153,7 @@ func NewRootCmd(l zerolog.Logger) *cobra.Command { // Warn users when the session is interactive, and the operation is supposed to use an API token instead if shouldAskForConfirmation(cmd) && isUserToken && !flagYes { + 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.") if !confirmationPrompt(fmt.Sprintf("This command will run against the organization %q", orgName)) { return errors.New("command canceled by user") }