boltdb-shell

command module
v0.0.0-...-bae7037 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

README

boltdb-shell

A simple BoltDB shell for exploring buckets and keys.

Install

$ go get github.com/liubin/boltdb-shell

$ boltdb-shell meta.db

Support commands

  • create <bucket>: create bucket(or mkdir/create_bucket)
  • rm <bucket>|<key>: delete bucket or key.
  • put <key> <value>: put key value
  • cd <bucket> or cd .. or cd /
  • ls: list buckets or keys under current path
  • pwd: show current path(under which bucket)
  • int <key>: show int value of <key>
  • time <key>: show golang time value of <key>

Demo

converted by https://dstein64.github.io/gifcast/

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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