2018-11-19 21:36:21 +00:00
|
|
|
package remote
|
2018-11-07 19:07:15 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
)
|
|
|
|
|
|
|
|
var temperatureCmd = &cobra.Command{
|
|
|
|
Use: "temperature",
|
2018-11-19 21:36:21 +00:00
|
|
|
Short: "Read temperature from sensor",
|
2018-11-07 19:07:15 +00:00
|
|
|
}
|
|
|
|
|
2018-11-19 21:36:21 +00:00
|
|
|
// Execute a
|
|
|
|
func Init(cmd *cobra.Command) {
|
2018-11-07 19:07:15 +00:00
|
|
|
|
|
|
|
cmd.AddCommand(temperatureCmd)
|
|
|
|
|
|
|
|
}
|