addEngineFilterFlag adds the --engine flag to a command for filtering. This flag allows filtering results by AI engine type. No shorthand is registered to avoid collision with the override-style --engine/-e flag.
(cmd *cobra.Command)
| 18 | // This flag allows filtering results by AI engine type. No shorthand is |
| 19 | // registered to avoid collision with the override-style --engine/-e flag. |
| 20 | func addEngineFilterFlag(cmd *cobra.Command) { |
| 21 | cmd.Flags().String("engine", "", engineFlagUsage("Filter logs by AI engine")) |
| 22 | } |
| 23 | |
| 24 | // addRepoFlag adds the --repo/-r flag to a command. |
| 25 | // This flag allows specifying a target repository. |