PKGBUILD/cmd/humidity/humidity.go

25 lines
343 B
Go
Raw Normal View History

2018-12-04 18:11:50 +00:00
package humidity
import (
"github.com/spf13/cobra"
)
var (
compression bool
configFile *string
round float64
)
2018-12-04 18:11:50 +00:00
var humidityCmd = &cobra.Command{
Use: "humidity",
Short: "Operates with humidity values",
2018-12-04 18:11:50 +00:00
}
// Execute a
2020-01-11 16:24:34 +00:00
func InitCmd(cmd *cobra.Command, cnfFile *string) {
configFile = cnfFile
2018-12-04 18:11:50 +00:00
cmd.AddCommand(humidityCmd)
}