MCPcopy Create free account
hub / github.com/cli/cli / ArchiveOptions

Struct ArchiveOptions

pkg/cmd/repo/archive/archive.go:19–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17)
18
19type 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
29func NewCmdArchive(f *cmdutil.Factory, runF func(*ArchiveOptions) error) *cobra.Command {
30 opts := &ArchiveOptions{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected