mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2026-10-12 10:59:57 +00:00
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.
16 lines
345 B
Go
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")
|
|
}
|