Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/crowdsecurity/crowdsec
/ New
Function
New
cmd/crowdsec-cli/clilapi/lapi.go:16–20 ·
view source on GitHub ↗
(cfg csconfig.Getter)
Source
from the content-addressed store, hash-verified
14
}
15
16
func
New(cfg csconfig.Getter) *cliLapi {
17
return
&cliLapi{
18
cfg: cfg,
19
}
20
}
21
22
func
(cli *cliLapi) NewCommand() *cobra.Command {
23
cmd := &cobra.Command{
Callers
2
NewCommand
Method · 0.92
dumpLAPIStatus
Method · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected