21 lines
258 B
Go
21 lines
258 B
Go
package sensor
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var cfg string
|
|
|
|
var sensorCmd = &cobra.Command{
|
|
Use: "sensor",
|
|
Short: "Manage Sensors",
|
|
}
|
|
|
|
// InitCmd da
|
|
func InitCmd(cmd *cobra.Command, config string) {
|
|
cfg = config
|
|
|
|
cmd.AddCommand(sensorCmd)
|
|
|
|
}
|