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
|
2021-07-13 22:47:47 +00:00
|
|
|
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
|
2021-07-13 22:47:47 +00:00
|
|
|
var Commit string
|
|
|
|
|
2021-07-13 21:34:32 +00:00
|
|
|
func main() {
|
2021-07-15 02:44:07 +00:00
|
|
|
if Version == "" {
|
|
|
|
Version = "dev"
|
2021-07-13 21:34:32 +00:00
|
|
|
}
|
2021-07-15 02:44:07 +00:00
|
|
|
if Commit == "" {
|
|
|
|
Commit = " "
|
2021-07-13 21:34:32 +00:00
|
|
|
}
|
2021-07-15 02:44:07 +00:00
|
|
|
|
|
|
|
cli.RunApp(Version, Commit)
|
2021-07-13 21:34:32 +00:00
|
|
|
}
|