forked from coop-cloud/abra
25 lines
391 B
Go
25 lines
391 B
Go
// Package main provides the command-line entrypoint.
|
|
package main
|
|
|
|
import (
|
|
"coopcloud.tech/abra/cli"
|
|
)
|
|
|
|
// Version is the current version of abra.
|
|
var Version string
|
|
|
|
// Commit is the current commit of abra.
|
|
var Commit string
|
|
|
|
func main() {
|
|
// If not set in the ld-flags
|
|
if Version == "" {
|
|
Version = "dev"
|
|
}
|
|
if Commit == "" {
|
|
Commit = " "
|
|
}
|
|
|
|
cli.RunApp(Version, Commit)
|
|
}
|