Files
mmetc 7416c7363d remove the cscli_setup feature flag (#3784)
This was never used outside testing, should not impact anyone.
If someone really used the feature, it's not compatible anyway with the
previous version and they'll get an error at runtime.
2025-08-05 23:53:58 +02:00

16 lines
345 B
Go

//go:build !no_cscli_setup
package main
import (
"github.com/spf13/cobra"
"github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli/clisetup"
"github.com/crowdsecurity/crowdsec/pkg/cwversion/component"
)
func (cli *cliRoot) addSetup(cmd *cobra.Command) {
cmd.AddCommand(clisetup.New(cli.cfg).NewCommand())
component.Register("cscli_setup")
}