PKGBUILD/cmd/humidity/humidity.go

23 lines
337 B
Go
Raw Normal View History

2018-12-04 18:11:50 +00:00
package humidity
import (
"github.com/spf13/cobra"
)
var compression bool
var configFile *string
var 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
func InitCmd(cmd *cobra.Command, cnfFile *string) {
configFile = cnfFile
2018-12-04 18:11:50 +00:00
cmd.AddCommand(humidityCmd)
}