rubin-cli-0.2.0 is not a library.
Rubin CLI
Command-line interface for the Rubin library.
Install
You can install the Rubin CLI using cargo
:
Usage
The Rubin CLI offers two options:
-
Creating a Rubin server which offers in-memory storage for key-value pairs (see here)
-
A CLI for interacting with a running Rubin server
Rubin Server
Rubin CLI
CLI Commands
- String commands:
set [KEY] [VALUE]
: Adds a string value with a given key to the storeget [KEY]
: Gets a string value from the store with a given keyrm [KEY]
: Removes a string value from the store with the given keyclr
: Clears all values in the string store, removing the keys as wellincr
: Increment a value in the store by onedecr
: Decrement a value in the store by onedump
: Dump the store out to the server's disk. Folder needs to exist.
exit
: Quit the CLI