# boltsh **Repository Path**: wpkg/boltsh ## Basic Information - **Project Name**: boltsh - **Description**: A simple BoltDB shell for exploring buckets and keys. - **Primary Language**: Go - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-02-01 - **Last Updated**: 2021-06-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # boltsh A simple BoltDB shell for exploring buckets and keys. ## install ```shell $ go get gitee.com/shupkg/boltsh $ boltsh some.db ``` ## commands - `cd ` or `cd ..` or `cd /` - `ls`: list buckets or keys under current bucket - `ls -b`: list only buckets under current bucket - `ls -v`: list only keys under current bucket - `mkdir ` or `create `: create a sub bucket - `put ... `: put key value - `rm -f `: delete a bucket - `rm `: delete a key - `get [string|time|int] `: show `time`,`int` or `string` value by key - `next-seq` `next-sequence` `incr`: increment a sequence of bucket - `seq[uence]`: display the current sequence of bucket - `set-seq or set-sequence `: set the sequence for current bucket - `info`: display current bucket stats info - `info |`: display `tx` or `db` stats info - `pwd`: display the current path under which bucket ## thanks [boltdb-shell](https://github.com/liubin/boltdb-shell)