(cmd *cobra.Command)
| 75 | } |
| 76 | |
| 77 | func getIncludeExcludeArgs(cmd *cobra.Command) (include, exclude *string) { |
| 78 | includeFlag := cmd.Flag("include") |
| 79 | excludeFlag := cmd.Flag("exclude") |
| 80 | if includeFlag.Changed { |
| 81 | include = &includeArg |
| 82 | } |
| 83 | if excludeFlag.Changed { |
| 84 | exclude = &excludeArg |
| 85 | } |
| 86 | |
| 87 | return |
| 88 | } |
| 89 | |
| 90 | func fetchCommand(cmd *cobra.Command, args []string) { |
| 91 | setupRepository() |
no test coverage detected