Sora233 / buntdb-cli

an interactive buntdb shell client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Buntdb-cli

an interactive buntdb shell client

ci Coverage Status


Install

Build from source

It's recommended to use binary release

  • go >= 1.13
go get -u -v github.com/Sora233/buntdb-cli

Usage

WARN: DO NOT use write command when other buntdb program is running, as multi write can destroy the buntdb file

Demo

  • Support Command
    • get
    • set
    • del
    • ttl
    • rbegin (begin a readonly transaction)
    • rwbegin (begin a read/write transaction)
    • commit
    • rollback
    • show
    • keys
    • search
    • use
    • shrink
    • save

You can provide -h flag for command to print help message. get

TODO

  • create index (Index is memory-only, You need to create index everytime you restart, so I am considering whether to impl it)

About

an interactive buntdb shell client

License:MIT License


Languages

Language:Go 98.3%Language:Makefile 1.7%