From 2116a62a5a028b1d114607670af423168213f9fd Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Sat, 7 Mar 2026 21:17:10 +0000 Subject: [PATCH] refactor(cmd): remove root command addition from query init This prevents potential duplicate command registrations if added elsewhere. --- cmd/query.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/query.go b/cmd/query.go index ca450a5..67942f6 100644 --- a/cmd/query.go +++ b/cmd/query.go @@ -19,7 +19,6 @@ Default mode is factual and brief. Use --wordy for longer, more explanatory answ func init() { queryCmd.Flags().Bool("wordy", false, "Give a longer, more detailed answer") - rootCmd.AddCommand(queryCmd) } func runQuery(cmd *cobra.Command, args []string) {