PKGBUILD/cmd/temperature/push.go

23 lines
425 B
Go
Raw Normal View History

package temperature
2019-02-24 21:46:36 +00:00
// import (
// "log"
2019-02-24 21:46:36 +00:00
// "github.com/spf13/cobra"
// )
2019-02-24 21:46:36 +00:00
// var pushTemperatureCmd = &cobra.Command{
// Use: "push",
// Short: "push temperature from sensor to remote servers",
// Run: func(cmd *cobra.Command, args []string) {
2019-02-24 21:46:36 +00:00
// if err := temperature.Push(configDir); err != nil {
// log.Fatal(err)
// }
// },
// }
2019-02-24 21:46:36 +00:00
// func init() {
// temperatureCmd.AddCommand(pushTemperatureCmd)
// }