PKGBUILD/main.go
Markus Pesch fb916c94ae
fix: add, rename and remove sensor
changes:
- Implement function to add, rename and remove sensors
2020-05-17 13:00:51 +02:00

24 lines
319 B
Go

package main
import (
"log"
"os"
"github.com/Masterminds/semver"
"github.com/volker-raschek/flucky/cli"
)
var (
version string
)
func main() {
sversion, err := semver.NewVersion(version)
if err != nil {
log.Printf("The sematic versioning is invalid: %v", version)
os.Exit(1)
}
cli.Execute(sversion)
}