2018-11-20 21:55:06 +00:00
|
|
|
package sensor
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
)
|
|
|
|
|
2019-06-16 11:00:50 +00:00
|
|
|
var configFile string
|
2018-11-20 21:55:06 +00:00
|
|
|
|
|
|
|
var sensorCmd = &cobra.Command{
|
|
|
|
Use: "sensor",
|
|
|
|
Short: "Manage Sensors",
|
|
|
|
}
|
|
|
|
|
2019-02-22 12:08:58 +00:00
|
|
|
// InitCmd da
|
2019-06-16 11:00:50 +00:00
|
|
|
func InitCmd(cmd *cobra.Command, cnfFile string) {
|
|
|
|
configFile = cnfFile
|
2018-11-20 21:55:06 +00:00
|
|
|
|
|
|
|
cmd.AddCommand(sensorCmd)
|
|
|
|
|
|
|
|
}
|