(f *cmdutil.Factory)
| 8 | ) |
| 9 | |
| 10 | func NewCmdGitIgnore(f *cmdutil.Factory) *cobra.Command { |
| 11 | cmd := &cobra.Command{ |
| 12 | Use: "gitignore <command>", |
| 13 | Short: "List and view available repository gitignore templates", |
| 14 | } |
| 15 | |
| 16 | cmd.AddCommand(cmdList.NewCmdList(f, nil)) |
| 17 | cmd.AddCommand(cmdView.NewCmdView(f, nil)) |
| 18 | |
| 19 | return cmd |
| 20 | } |
nothing calls this directly
no outgoing calls
no test coverage detected