๐Ÿ“ฆ liubin / boltdb-shell

A simple interactive shell to explore and manage buckets, keys and its values for boltdb file.

โ˜… 5 stars โ‘‚ 1 forks ๐Ÿ‘ 5 watching โš–๏ธ Apache License 2.0
boltboltdbdatabase
๐Ÿ“ฅ Clone https://github.com/liubin/boltdb-shell.git
HTTPS git clone https://github.com/liubin/boltdb-shell.git
SSH git clone git@github.com:liubin/boltdb-shell.git
CLI gh repo clone liubin/boltdb-shell
bin liu bin liu fix typo of function name bae7037 5 years ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ images
๐Ÿ“ vendor
๐Ÿ“„ .gitignore
๐Ÿ“„ go.mod
๐Ÿ“„ go.sum
๐Ÿ“„ LICENSE
๐Ÿ“„ main.go
๐Ÿ“„ README.md
๐Ÿ“„ README.md

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/