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

Struct AddOptions

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

Source from the content-addressed store, hash-verified

14)
15
16type AddOptions struct {
17 IO *iostreams.IOStreams
18 Config func() (gh.Config, error)
19 HTTPClient func() (*http.Client, error)
20
21 KeyFile string
22 Title string
23 Type 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