Skip to content

A command-line tool for FoundationDB stored protocol buffers

License

Notifications You must be signed in to change notification settings

duccltd/fdb-proto-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fdb-cli

A command-line tool to make developing with FoundationDB easier with protobufs.

Installation

N/A

Usage

fdb-cli [command]

fdb-cli [command] help

Commands

Setup

fdb-cli setup --cluster-file /etc/foundationdb/fdb.cluster

# for protobuf support
fdb-cli setup --proto-file $HOME/project/protos/my_messages.proto

Get

Get a singular kv pair

fdb-cli get key users/259e748b-b9c6-48de-b366-24d2af598e63

Get a singular protobuf kv pair

fdb-cli get key -p protos.User users/259e748b-b9c6-48de-b366-24d2af598e63

Get a range of kv pairs

fdb-cli get range --start users/100 --end users/500

Get a range of protobuf kv pairs

fdb-cli get range -p protos.User --start users/100 --end users/500

Delete

Delete a singular kv pair

fdb-cli delete key users/259e748b-b9c6-48de-b366-24d2af598e63

Delete a range of kv pairs

fdb-cli delete range --start users/100 --end users/500

Reset

fdb-cli reset

Move

WIP

About

A command-line tool for FoundationDB stored protocol buffers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages