PKGBUILD/cmd/sensor/sensor.go

21 lines
276 B
Go

package sensor
import (
"github.com/spf13/cobra"
)
var configFile *string
var sensorCmd = &cobra.Command{
Use: "sensor",
Short: "Manage Sensors",
}
// InitCmd da
func InitCmd(cmd *cobra.Command, cnfFile *string) {
configFile = cnfFile
cmd.AddCommand(sensorCmd)
}