15 lines
325 B
Go
15 lines
325 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/icinga/icingabeat/beater"
|
|
|
|
cmd "github.com/elastic/beats/v7/libbeat/cmd"
|
|
"github.com/elastic/beats/v7/libbeat/cmd/instance"
|
|
)
|
|
|
|
// Name of this beat
|
|
var Name = "icingabeat"
|
|
|
|
// RootCmd to handle beats cli
|
|
var RootCmd = cmd.GenRootCmdWithSettings(beater.New, instance.Settings{Name: Name})
|