23 lines
425 B
Go
23 lines
425 B
Go
package temperature
|
|
|
|
// import (
|
|
// "log"
|
|
|
|
// "github.com/spf13/cobra"
|
|
// )
|
|
|
|
// var pushTemperatureCmd = &cobra.Command{
|
|
// Use: "push",
|
|
// Short: "push temperature from sensor to remote servers",
|
|
// Run: func(cmd *cobra.Command, args []string) {
|
|
|
|
// if err := temperature.Push(configDir); err != nil {
|
|
// log.Fatal(err)
|
|
// }
|
|
// },
|
|
// }
|
|
|
|
// func init() {
|
|
// temperatureCmd.AddCommand(pushTemperatureCmd)
|
|
// }
|