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/humidity/humidity.go
T

21 lines
292 B
Go

package humidity
import (
"github.com/spf13/cobra"
)
var configFile string
var humidityCmd = &cobra.Command{
Use: "humidity",
Short: "Read humidity from sensor",
}
// Execute a
func InitCmd(cmd *cobra.Command, cnfFile string) {
configFile = cnfFile
cmd.AddCommand(humidityCmd)
}