v1
go install github.com/laraws/badger-cli@latest
v4
go install github.com/laraws/badger-cli/v4@latest
Command line client for managing a badger database
Usage:
badger-cli [command]
Available Commands:
delete Delete a key and its contents
get Get content of a specific key
help Help about any command
list List keys in the database
set Set a key and its value
Flags:
-d, --dir string Path to the badger database direcotry
-h, --help help for badger-cli
Use "badger-cli [command] --help" for more information about a command.