addEngineFlag adds the --engine/-e flag to a command. This flag allows overriding the AI engine type.
(cmd *cobra.Command)
| 11 | // addEngineFlag adds the --engine/-e flag to a command. |
| 12 | // This flag allows overriding the AI engine type. |
| 13 | func addEngineFlag(cmd *cobra.Command) { |
| 14 | cmd.Flags().StringP("engine", "e", "", engineFlagUsage("Override AI engine")) |
| 15 | } |
| 16 | |
| 17 | // addEngineFilterFlag adds the --engine flag to a command for filtering. |
| 18 | // This flag allows filtering results by AI engine type. No shorthand is |