nBase is a simple key-value store, compatible with any data type- Although at the moment the data is converted to a string when obtained. Future implementations will include more possible return types.
nBase is written in rust and the files are written and compressed with the minilzo-rs crate.
nbase usage_case name [command] [option | key | key value...]
init
: Create a newname
.ndb fileinits
: Create a newname
.ndbs filewith
: Usename
.ndb for acommand
withs
: Usename
.ndbs for acommand
push
: Add thekey
value
pairpushmany
: Add all followingkey
value
pairspull
: Get the value associated withkey
edit
: Editkey
to be associated withvalue
pop
: Remove the pair with keykey
json
: Get a json file of the store
add
: Add theoption
.ndb file to thename
.ndbs groupjson
: Get a json file of the group
- Help command and full handling of any arguments
- Remove from group
- Data type support (inserting json arrays is possible, but it isn't considered a true array and as such isn't language-agnostic)
- Create python and golang libraries
- Stop usage of ";" at the program level
- Make all writing instructions atomic