package security import ( "github.com/MakeNowJust/heredoc/v2" "github.com/spf13/cobra" "gitlab.com/gitlab-org/cli/internal/cmdutils" configCmd "gitlab.com/gitlab-org/cli/internal/commands/security/config" "gitlab.com/gitlab-org/cli/internal/text" ) func NewCmd(f cmdutils.Factory) *cobra.Command { securityCmd := &cobra.Command{ Use: "security [flags]", Short: "Manage GitLab security scan profiles for a project. (EXPERIMENTAL)", Long: heredoc.Doc(` Use these commands to enable, disable, or inspect the security scans attached to a project. `) + text.ExperimentalString, } cmdutils.EnableRepoOverride(securityCmd, f) securityCmd.AddCommand(configCmd.NewCmd(f)) return securityCmd }