2019-07-02 20:43:05 +00:00
|
|
|
package pressure
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
)
|
|
|
|
|
|
|
|
var compression bool
|
2019-08-19 10:24:08 +00:00
|
|
|
var configFile *string
|
2019-07-02 20:43:05 +00:00
|
|
|
var round float64
|
|
|
|
|
|
|
|
var pressureCmd = &cobra.Command{
|
|
|
|
Use: "pressure",
|
2019-07-02 20:54:58 +00:00
|
|
|
Short: "List air pressure values from different or specified sensors by arguments",
|
2019-07-02 20:43:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Execute a
|
2019-08-19 10:24:08 +00:00
|
|
|
func InitCmd(cmd *cobra.Command, cnfFile *string) {
|
2019-07-02 20:43:05 +00:00
|
|
|
configFile = cnfFile
|
|
|
|
|
|
|
|
cmd.AddCommand(pressureCmd)
|
|
|
|
|
|
|
|
}
|