This repository has been archived on 2021-07-16. You can view files and clone it, but cannot push or open issues or pull requests.
go-abra/cmd/abra/main.go

20 lines
248 B
Go
Raw Normal View History

2021-07-13 21:34:32 +00:00
package main
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
}