fix(pkg/server): logging and save values into postgres

This commit is contained in:
2020-01-18 14:55:43 +01:00
parent 6f45c2957a
commit 671a3eb748
8 changed files with 158 additions and 34 deletions

View File

@ -74,7 +74,7 @@ flucky sensor add --i2c-bus 1 --i2c-address 0x76 wetter-station BME280`,
Aliases: []string{"rm"},
Example: "flucky sensor remove outdoor",
Args: cobra.ExactArgs(1),
RunE: enableSensor,
RunE: removeSensor,
}
renameSensorCmd := &cobra.Command{