All Projects → hasit → Bolter

hasit / Bolter

Licence: mit
Command-line app for viewing BoltDB file in your terminal

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Bolter

Gitbuddy
Your buddy in managing and maintaining GitHub repositories, and releases. Automatically generate changelogs from issues and merged pull-requests.
Stars: ✭ 184 (-17.12%)
Mutual labels:  command-line-tool
Zoxide
A smarter cd command. Supports all major shells.
Stars: ✭ 4,422 (+1891.89%)
Mutual labels:  command-line-tool
Dry Cli
General purpose Command Line Interface (CLI) framework for Ruby
Stars: ✭ 210 (-5.41%)
Mutual labels:  command-line-tool
Zsh Vi Mode
💻 A better and friendly vi(vim) mode plugin for ZSH.
Stars: ✭ 181 (-18.47%)
Mutual labels:  command-line-tool
Toolbox
Simplifies common command line tasks when using Vapor
Stars: ✭ 194 (-12.61%)
Mutual labels:  command-line-tool
Linode Cli
The Linode CLI
Stars: ✭ 198 (-10.81%)
Mutual labels:  command-line-tool
Autosubsync
Automatically synchronize subtitles with audio using machine learning
Stars: ✭ 179 (-19.37%)
Mutual labels:  command-line-tool
Licensed
⚖️ ✔️ licensed is an interactive command line tool to help you choose and add licenses to your projects
Stars: ✭ 220 (-0.9%)
Mutual labels:  command-line-tool
Tnote
📋 A command line note taking app so simple that even your grandparents will love it!
Stars: ✭ 195 (-12.16%)
Mutual labels:  command-line-tool
Reset Windows Update Tool
Troubleshooting Tool with Windows Updates (Developed in Dev-C++).
Stars: ✭ 208 (-6.31%)
Mutual labels:  command-line-tool
Comics Downloader
tool to download comics and manga in pdf/epub/cbr/cbz from a website
Stars: ✭ 190 (-14.41%)
Mutual labels:  command-line-tool
Tq
Perform a lookup by CSS selector on an HTML input
Stars: ✭ 193 (-13.06%)
Mutual labels:  command-line-tool
Miniserve
🌟 For when you really just want to serve some files over HTTP right now!
Stars: ✭ 2,894 (+1203.6%)
Mutual labels:  command-line-tool
Icon Font To Png
Python script (and library) for exporting icons from icon fonts (e.g. Font Awesome, Octicons) as PNG images
Stars: ✭ 186 (-16.22%)
Mutual labels:  command-line-tool
Geek Life
The Todo List / Task Manager for Geeks in command line
Stars: ✭ 212 (-4.5%)
Mutual labels:  command-line-tool
Wiki
A tiny wiki using BoltDB and Blackfriday
Stars: ✭ 185 (-16.67%)
Mutual labels:  boltdb
Ex check
One task to efficiently run all code analysis & testing tools in an Elixir project. Born out of 💜 to Elixir and pragmatism.
Stars: ✭ 198 (-10.81%)
Mutual labels:  command-line-tool
Klog
A plain-text file format and command line tool for time tracking
Stars: ✭ 222 (+0%)
Mutual labels:  command-line-tool
Innodb Java Reader
A library and command-line tool to access MySQL InnoDB data file directly in Java
Stars: ✭ 217 (-2.25%)
Mutual labels:  command-line-tool
Wwdchelper
⏬ Help you get WWDC info easily, especially for subtitles.
Stars: ✭ 208 (-6.31%)
Mutual labels:  command-line-tool

bolter

View BoltDB file in your terminal

List all items

Install

$ go get -u github.com/hasit/bolter

Usage

$ bolter [global options]

GLOBAL OPTIONS:
  --file FILE, -f FILE        boltdb FILE to view
  --bucket BUCKET, -b BUCKET  boltdb BUCKET to view
  --machine, -m               key=value format
  --help, -h                  show help
  --version, -v               print the version

List all buckets

$ bolter -f emails.db
+---------------------------+
|          BUCKETS          |
+---------------------------+
| [email protected]              |
| [email protected]              |
| [email protected]        |
| [email protected]             |
+---------------------------+

List all items in bucket

$ bolter -f emails.db -b [email protected]
Bucket: [email protected]
+---------------+---------------------+
|      KEY      |        VALUE        |
+---------------+---------------------+
| emailLastSent |                     |
| subLocation   |                     |
| subTag        |                     |
| userActive    | true                |
| userCreatedOn | 2016-10-28 07:21:49 |
| userEmail     | [email protected]        |
| userFirstName | John                |
| userLastName  | Doe                 |
+---------------+---------------------+

Nested buckets

You can easily list all items in a nested bucket:

$ bolter -f my.db
+-----------+
|  BUCKETS  |
+-----------+
|   root    |
+-----------+

$ bolter -f my.db -b root
Bucket: root
+---------+---------+
|   KEY   |  VALUE  |
+---------+---------+
| nested* |         |
+---------+---------+

* means the key ('nested' in this case) is a bucket.

$ bolter -f my.db -b root.nested
Bucket: root.nested
+---------+---------+
|   KEY   |  VALUE  |
+---------+---------+
|  mykey  | myvalue |
+---------+---------+

Machine friendly output

$ bolter -f emails.db -m
[email protected]
[email protected]
[email protected]
[email protected]

$ bolter -f emails.db -b [email protected] -m
emailLastSent=
subLocation=
subTag=
userActive=true
userCreatedOn=2016-10-28 07:21:49
[email protected]
userFirstName=John
userLastName=Doe
nested-bucket*=

Contribute

Feel free to ask questions, post issues and open pull requests. My only requirement is that you run gofmt on your code before you send in a PR.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].