22 lines
253 B
Go
22 lines
253 B
Go
package main
|
|
|
|
import (
|
|
"coopcloud.tech/abra/cli"
|
|
)
|
|
|
|
var Version string
|
|
var Commit string
|
|
|
|
func main() {
|
|
// If not set in the ld-flags
|
|
if Version == "" {
|
|
Version = "dev"
|
|
}
|
|
if Commit == "" {
|
|
Commit = " "
|
|
}
|
|
|
|
cli.RunApp(Version, Commit)
|
|
|
|
}
|