2014-06-21 18:12:37 +04:00
|
|
|
package main
|
|
|
|
|
2020-05-10 08:32:35 +03:00
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
2023-02-15 10:41:45 +03:00
|
|
|
"git.internal/re/ledisdb/cmd"
|
2020-05-10 08:32:35 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
version = "dev"
|
|
|
|
buildTag string
|
|
|
|
)
|
2015-08-02 04:23:51 +03:00
|
|
|
|
2014-06-21 18:12:37 +04:00
|
|
|
func main() {
|
2020-05-10 08:32:35 +03:00
|
|
|
fmt.Printf("Version %s", version)
|
|
|
|
if len(buildTag) > 0 {
|
|
|
|
fmt.Printf(" with tag %s", buildTag)
|
|
|
|
}
|
|
|
|
fmt.Println()
|
|
|
|
|
2020-05-10 13:17:39 +03:00
|
|
|
cmd.Cli()
|
2014-07-22 15:54:17 +04:00
|
|
|
}
|