2014-05-05 07:37:44 +04:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2020-05-10 08:32:35 +03:00
|
|
|
"fmt"
|
|
|
|
|
2020-05-09 16:30:50 +03:00
|
|
|
"github.com/ledisdb/ledisdb/cmd"
|
2014-05-05 07:37:44 +04:00
|
|
|
)
|
|
|
|
|
2020-05-10 08:32:35 +03:00
|
|
|
var (
|
|
|
|
version = "dev"
|
|
|
|
buildTag string
|
|
|
|
)
|
|
|
|
|
2014-05-05 07:37:44 +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.CmdServer()
|
2014-05-05 07:37:44 +04:00
|
|
|
}
|