refactor(cmd): remove root command addition from query init

This prevents potential duplicate command registrations if added elsewhere.
This commit is contained in:
Greg Gauthier 2026-03-07 21:17:10 +00:00
parent bb3f968711
commit 2116a62a5a

View File

@ -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) {