2018-12-04 18:11:50 +00:00
|
|
|
package humidity
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
)
|
|
|
|
|
2019-09-01 10:27:06 +00:00
|
|
|
var (
|
|
|
|
compression bool
|
|
|
|
configFile *string
|
|
|
|
round float64
|
|
|
|
)
|
2018-12-04 18:11:50 +00:00
|
|
|
|
|
|
|
var humidityCmd = &cobra.Command{
|
|
|
|
Use: "humidity",
|
2019-07-02 20:54:58 +00:00
|
|
|
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) {
|
2019-06-16 11:00:50 +00:00
|
|
|
configFile = cnfFile
|
2018-12-04 18:11:50 +00:00
|
|
|
|
|
|
|
cmd.AddCommand(humidityCmd)
|
|
|
|
|
|
|
|
}
|