MCPcopy
hub / github.com/crowdsecurity/crowdsec / addSetup

Method addSetup

cmd/crowdsec-cli/setup.go:12–15  ·  view source on GitHub ↗
(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

10)
11
12func (cli *cliRoot) addSetup(cmd *cobra.Command) {
13 cmd.AddCommand(clisetup.New(cli.cfg).NewCommand())
14 component.Register("cscli_setup")
15}

Callers 1

NewCommandMethod · 0.95

Calls 4

NewFunction · 0.92
RegisterFunction · 0.92
AddCommandMethod · 0.80
NewCommandMethod · 0.45

Tested by

no test coverage detected