20 lines
248 B
Go
20 lines
248 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)
|
|
|
|
}
|