Skip to content

Conversation

@GwynethLlewelyn
Copy link

Fixes #29

The idea was to bump the usage of urfave/cli to v3, which requires a minor change in the CLI setup.

This PR also includes more recent versions of tableformatter which deprecated SetHeader() and replaced it with Header(). Otherwise, it's the same thing.

A few extra goodies I added:

  • The * after the bucket name is a standard notation, but, these days, I like emojis best (e.g. 📁 ). The * can still be specified with a flag.
  • Instead of forcing the -f to be always present, in the case that only a valid filename is passed as argument (i.e., no flags), this will also work, e.g. bolter sample-db/test-db.bolt also works

The rest are minor cosmetic changes and a few extra comments.

TODO:

  • replace the interactive command line with https://github.com/chzyer/readline, so that we get bash/emacs-like completions (great for repeating commands, etc.)
  • replace the pager functionality using the external more command by something in Go; the idea is to make it work universally
  • rethink the code so that there is a non-interactive mode as well, which would allow scripting to use STDIN as input for a BoltDB file and STDOUT for the result

@GwynethLlewelyn GwynethLlewelyn changed the title Fix cli author Fix cli author, bumped dependencies to modern versions, namely, urfave/cli to v3 Nov 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant