18 lines
238 B
Go
18 lines
238 B
Go
package remote
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var temperatureCmd = &cobra.Command{
|
|
Use: "temperature",
|
|
Short: "Read temperature from sensor",
|
|
}
|
|
|
|
// Execute a
|
|
func Init(cmd *cobra.Command) {
|
|
|
|
cmd.AddCommand(temperatureCmd)
|
|
|
|
}
|