| 33 | } |
| 34 | |
| 35 | type ChecksOptions struct { |
| 36 | HttpClient func() (*http.Client, error) |
| 37 | IO *iostreams.IOStreams |
| 38 | Browser browser.Browser |
| 39 | Exporter cmdutil.Exporter |
| 40 | |
| 41 | Finder shared.PRFinder |
| 42 | Detector fd.Detector |
| 43 | |
| 44 | SelectorArg string |
| 45 | WebMode bool |
| 46 | Interval time.Duration |
| 47 | Watch bool |
| 48 | FailFast bool |
| 49 | Required bool |
| 50 | } |
| 51 | |
| 52 | func NewCmdChecks(f *cmdutil.Factory, runF func(*ChecksOptions) error) *cobra.Command { |
| 53 | var interval int |
nothing calls this directly
no outgoing calls
no test coverage detected