PKGBUILD/cmd/sensor/sensor.go
2018-11-28 18:07:20 +01:00

21 lines
263 B
Go

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