Code Monkey home page Code Monkey logo

redis-cui's Introduction

redis-cui

Build Status GolangCI Go Report Card

Simple, visual command line tool for redis.

demo

Feature

  • Simple and visual
  • Server friendly
  • Supported vim keys
  • Same arguments as redis-cli

Installation

go get github.com/kyai/redis-cui

Or download the binary and add it to your PATH

Latest release

Usage

$ redis-cui
Usage: redis-cui [OPTIONS]

  -h <hostname>   Server hostname (default: 127.0.0.1)
  -p <port>       Server port (default: 6379)
  -a <password>   Password to use when connecting to the server
  -n <database>   Database number
  -q              Default redis query condition (default: *)
  --help          Output this help and exit
  --version       Output version and exit

LICENSE

MIT

redis-cui's People

Contributors

kyai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

redis-cui's Issues

panic due to unrecognised data type

Redis version 5.0.5

I was just trying this project out for the first time with my local test redis instance and I got this error while browsing through my keys.

I only have one streaming key and didn't need to browse it, would it be possible to fix it so that unknown datatypes are simply skipped over?

panic: Unknown type: STREAM

goroutine 1 [running]:
log.Panic(0xc0000a99a8, 0x2, 0x2)
        /usr/lib/go/src/log/log.go:333 +0xac
github.com/kyai/redis-cui/class.NewClass(0xc000318c46, 0x6, 0xc00014c000, 0x6, 0xc0000a9bd0)
        /home/kio/go/src/github.com/kyai/redis-cui/class/class.go:34 +0x191
github.com/kyai/redis-cui/cui.renderData(0xc0001640f0, 0x0)
        /home/kio/go/src/github.com/kyai/redis-cui/cui/render.go:103 +0x8d0
github.com/kyai/redis-cui/cui.handleKeysSelect(0xc00014c000, 0xc0001640f0, 0x0, 0x0, 0x5)
        /home/kio/go/src/github.com/kyai/redis-cui/cui/event.go:102 +0x54
github.com/kyai/redis-cui/cui.handleKeysNextLine(0xc00014c000, 0xc0001640f0, 0x4, 0xc0000a9d01)
        /home/kio/go/src/github.com/kyai/redis-cui/cui/event.go:89 +0x3a
github.com/kyai/gocui.(*Gui).execKeybindings(0xc00014c000, 0xc0001640f0, 0xc0000a7dc0, 0x0, 0x6, 0x7)
        /home/kio/go/src/github.com/kyai/gocui/gui.go:647 +0xc4
github.com/kyai/gocui.(*Gui).onKey(0xc00014c000, 0xc0000a7dc0, 0x2, 0x0)
        /home/kio/go/src/github.com/kyai/gocui/gui.go:611 +0x1b3
github.com/kyai/gocui.(*Gui).handleEvent(...)
        /home/kio/go/src/github.com/kyai/gocui/gui.go:426
github.com/kyai/gocui.(*Gui).MainLoop(0xc00014c000, 0x0, 0x1)
        /home/kio/go/src/github.com/kyai/gocui/gui.go:386 +0x1e3
github.com/kyai/redis-cui/cui.New()
        /home/kio/go/src/github.com/kyai/redis-cui/cui/cui.go:60 +0x22a
main.main()
        /home/kio/go/src/github.com/kyai/redis-cui/main.go:23 +0x22f

dependencies outdated

I get following error when I try to install your tool
package github.com/go-redis/redis/v7: cannot find package "github.com/go-redis/redis/v7" in any of: /usr/lib/go-1.10/src/github.com/go-redis/redis/v7 (from $GOROOT) /root/go/src/github.com/go-redis/redis/v7 (from $GOPATH)

Could you please fix it? I seems that your tool is that I need. I've no experience in go, so I can't fix it myself

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.