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

Function NewCmdGPGKey

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

Source from the content-addressed store, hash-verified

9)
10
11func NewCmdGPGKey(f *cmdutil.Factory) *cobra.Command {
12 cmd := &cobra.Command{
13 Use: "gpg-key <command>",
14 Short: "Manage GPG keys",
15 Long: "Manage GPG 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