| 17 | ) |
| 18 | |
| 19 | type ArchiveOptions struct { |
| 20 | HttpClient func() (*http.Client, error) |
| 21 | Config func() (gh.Config, error) |
| 22 | BaseRepo func() (ghrepo.Interface, error) |
| 23 | Confirmed bool |
| 24 | IO *iostreams.IOStreams |
| 25 | RepoArg string |
| 26 | Prompter prompter.Prompter |
| 27 | } |
| 28 | |
| 29 | func NewCmdArchive(f *cmdutil.Factory, runF func(*ArchiveOptions) error) *cobra.Command { |
| 30 | opts := &ArchiveOptions{ |
nothing calls this directly
no outgoing calls
no test coverage detected