abra/cmd/abra/main.go

22 lines
253 B
Go
Raw Normal View History

2021-07-13 21:34:32 +00:00
package main
2021-07-30 15:32:06 +00:00
import (
"coopcloud.tech/abra/cli"
)
2021-07-13 21:34:32 +00:00
var Version string
var Commit string
2021-07-13 21:34:32 +00:00
func main() {
// If not set in the ld-flags
if Version == "" {
Version = "dev"
2021-07-13 21:34:32 +00:00
}
if Commit == "" {
Commit = " "
2021-07-13 21:34:32 +00:00
}
cli.RunApp(Version, Commit)
2021-07-13 21:34:32 +00:00
}