(f *cmdutil.Factory)
| 6 | ) |
| 7 | |
| 8 | func NewCmdLabel(f *cmdutil.Factory) *cobra.Command { |
| 9 | cmd := &cobra.Command{ |
| 10 | Use: "label <command>", |
| 11 | Short: "Manage labels", |
| 12 | Long: `Work with GitHub labels.`, |
| 13 | } |
| 14 | cmdutil.EnableRepoOverride(cmd, f) |
| 15 | |
| 16 | cmd.AddCommand(newCmdList(f, nil)) |
| 17 | cmd.AddCommand(newCmdCreate(f, nil)) |
| 18 | cmd.AddCommand(newCmdClone(f, nil)) |
| 19 | cmd.AddCommand(newCmdEdit(f, nil)) |
| 20 | cmd.AddCommand(newCmdDelete(f, nil)) |
| 21 | |
| 22 | return cmd |
| 23 | } |
nothing calls this directly
no test coverage detected