We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7efa4ca commit ec1fa42Copy full SHA for ec1fa42
1 file changed
cmd/root/root.go
@@ -21,7 +21,7 @@ func NewRootCmd() *cobra.Command {
21
Short: "cagent - AI agent runner",
22
Long: `cagent is a command-line tool for running AI agents`,
23
PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
24
- if cmd.DisplayName() != "exec" {
+ if cmd.DisplayName() != "exec" && os.Getenv("CAGENT_HIDE_FEEDBACK_LINK") != "1" {
25
_, _ = cmd.OutOrStdout().Write([]byte("\nFor any feedback, please visit: " + FeedbackLink + "\n\n"))
26
}
27
0 commit comments