buntdb-cli

command module
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2022 License: MIT Imports: 9 Imported by: 0

README

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)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL