abra/cmd/abra/main.go

24 lines
362 B
Go
Raw Permalink Normal View History

2021-09-04 22:19:20 +00:00
// Package main provides the command-line entrypoint.
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
2021-12-28 00:27:58 +00:00
// Version is the current version of Abra
var Version string
2021-09-04 22:19:20 +00:00
2021-12-28 00:27:58 +00:00
// Commit is the current git commit of Abra
var Commit string
2021-07-13 21:34:32 +00:00
func main() {
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
}