package ruleset import ( "github.com/MakeNowJust/heredoc" cmdCheck "github.com/cli/cli/v2/pkg/cmd/ruleset/check" cmdList "github.com/cli/cli/v2/pkg/cmd/ruleset/list" cmdView "github.com/cli/cli/v2/pkg/cmd/ruleset/view" "github.com/cli/cli/v2/pkg/cmdutil" "github.com/spf13/cobra" ) func NewCmdRuleset(f *cmdutil.Factory) *cobra.Command { cmd := &cobra.Command{ Use: "ruleset ", Short: "Manage repository and organization rulesets", Long: heredoc.Doc(` TODO `), Aliases: []string{"rs"}, Example: "TODO", } cmdutil.EnableRepoOverride(cmd, f) cmd.AddCommand(cmdList.NewCmdList(f, nil)) cmd.AddCommand(cmdView.NewCmdView(f, nil)) cmd.AddCommand(cmdCheck.NewCmdCheck(f, nil)) return cmd }