(f *cmdutil.Factory)
| 8 | ) |
| 9 | |
| 10 | func 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 | } |
nothing calls this directly
no test coverage detected