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

Function NewCmdSSHKey

pkg/cmd/ssh-key/ssh_key.go:11–23  ·  view source on GitHub ↗
(f *cmdutil.Factory)

Source from the content-addressed store, hash-verified

9)
10
11func NewCmdSSHKey(f *cmdutil.Factory) *cobra.Command {
12 cmd := &cobra.Command{
13 Use: "ssh-key <command>",
14 Short: "Manage SSH keys",
15 Long: "Manage SSH keys registered with your GitHub account.",
16 }
17
18 cmd.AddCommand(cmdAdd.NewCmdAdd(f, nil))
19 cmd.AddCommand(cmdDelete.NewCmdDelete(f, nil))
20 cmd.AddCommand(cmdList.NewCmdList(f, nil))
21
22 return cmd
23}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected