PKGBUILD/main.go

24 lines
328 B
Go

package main
import (
"log"
"os"
"git.cryptic.systems/volker.raschek/flucky/cli"
"github.com/Masterminds/semver"
)
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)
}