|
|
|
@ -104,13 +104,16 @@ func main() {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fmt.Println("Welcome to the rqlite CLI.")
|
|
|
|
|
fmt.Printf("Enter \".help\" for usage hints.\n")
|
|
|
|
|
fmt.Printf("Connected to %s running version %s\n", connectionStr, version)
|
|
|
|
|
fmt.Printf("\n")
|
|
|
|
|
fmt.Println("Welcome to the fluidB CLI. Enter \".help\" for usage hints.")
|
|
|
|
|
fmt.Printf("Version %s, commit %s, branch %s\n", cmd.Version, cmd.Commit, cmd.Branch)
|
|
|
|
|
fmt.Printf("Connected to rqlited version %s\n", version)
|
|
|
|
|
fmt.Printf("\n")
|
|
|
|
|
|
|
|
|
|
timer := false
|
|
|
|
|
consistency := "weak"
|
|
|
|
|
prefix := fmt.Sprintf("%s>", address6(argv))
|
|
|
|
|
//prefix := fmt.Sprintf("%s>", address6(argv))
|
|
|
|
|
prefix := fmt.Sprintf("fluidB~:>")
|
|
|
|
|
term, err := prompt.NewTerminal()
|
|
|
|
|
if err != nil {
|
|
|
|
|
ctx.String("%s %v\n", ctx.Color().Red("ERR!"), err)
|
|
|
|
|