2019-07-02 20:43:05 +00:00
|
|
|
package pressure
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
)
|
|
|
|
|
|
|
|
var compression bool
|
|
|
|
var configFile string
|
|
|
|
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
|
|
|
|
func InitCmd(cmd *cobra.Command, cnfFile string) {
|
|
|
|
configFile = cnfFile
|
|
|
|
|
|
|
|
cmd.AddCommand(pressureCmd)
|
|
|
|
|
|
|
|
}
|