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

Struct AddOptions

pkg/cmd/gpg-key/add/add.go:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15)
16
17type AddOptions struct {
18 IO *iostreams.IOStreams
19 Config func() (gh.Config, error)
20 HTTPClient func() (*http.Client, error)
21
22 KeyFile string
23 Title string
24}
25
26func NewCmdAdd(f *cmdutil.Factory, runF func(*AddOptions) error) *cobra.Command {
27 opts := &AddOptions{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected