PKGBUILD/cmd/temperature/temperature.go
Markus Pesch 6d9368e86c
fix: temperature, sensor
changes:
- sensor temperature add
- sensor temperature list
- sensor temperature rm
- temperature get
- temperature log
- temperature push
2018-11-21 19:30:14 +01:00

21 lines
297 B
Go

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