2014-06-21 18:12:37 +04:00
|
|
|
package main
|
|
|
|
|
2020-05-10 08:32:35 +03:00
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
|
|
|
"github.com/ledisdb/ledisdb/cmd"
|
|
|
|
)
|
|
|
|
|
|
|
|
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-09 16:30:50 +03:00
|
|
|
cmd.CmdCli()
|
2014-07-22 15:54:17 +04:00
|
|
|
}
|