This repository has been archived on 2025-08-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PKGBUILD/cmd/temperature/temperature.go
T

24 lines
391 B
Go

package temperature
import (
"fmt"
"github.com/spf13/cobra"
)
var cfg string
var temperatureCmd = &cobra.Command{
Use: "temperature",
Short: "Operate with temperature messures",
Example: fmt.Sprintf("flucky temperature read\nflucky temperature read outdoor"),
}
// Execute a
func InitCmd(cmd *cobra.Command, config string) {
cfg = config
cmd.AddCommand(temperatureCmd)
}