| 21 | ) |
| 22 | |
| 23 | type CheckOptions struct { |
| 24 | HttpClient func() (*http.Client, error) |
| 25 | IO *iostreams.IOStreams |
| 26 | Config func() (gh.Config, error) |
| 27 | BaseRepo func() (ghrepo.Interface, error) |
| 28 | Git *git.Client |
| 29 | Browser browser.Browser |
| 30 | |
| 31 | Branch string |
| 32 | Default bool |
| 33 | WebMode bool |
| 34 | } |
| 35 | |
| 36 | func NewCmdCheck(f *cmdutil.Factory, runF func(*CheckOptions) error) *cobra.Command { |
| 37 | opts := &CheckOptions{ |
nothing calls this directly
no outgoing calls
no test coverage detected