MCPcopy Index your code
hub / github.com/cli/cli / NewCmdOrg

Function NewCmdOrg

pkg/cmd/org/org.go:10–24  ·  view source on GitHub ↗
(f *cmdutil.Factory)

Source from the content-addressed store, hash-verified

8)
9
10func NewCmdOrg(f *cmdutil.Factory) *cobra.Command {
11 cmd := &cobra.Command{
12 Use: "org <command>",
13 Short: "Manage organizations",
14 Long: "Work with GitHub organizations.",
15 Example: heredoc.Doc(`
16 $ gh org list
17 `),
18 GroupID: "core",
19 }
20
21 cmdutil.AddGroup(cmd, "General commands", orgListCmd.NewCmdList(f, nil))
22
23 return cmd
24}

Callers

nothing calls this directly

Calls 1

AddGroupFunction · 0.92

Tested by

no test coverage detected