Skip to content

DaInfLoop/ReplDB-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

repldb-cli

Interact with ReplDB via the command line

Install:

$ npm install -g repldb-cli

Note: You must have a REPLIT_DB_URL environmental variable for it to work. If you're using Replit, the variable already exists.

Usage

$ repldb [options] [command]
$ repldb get <key>                       # Get a value in the database
$ repldb set -k <key> -v <value>         # Set a value in the database
$ repldb delete <key>                    # Delete a value from the database
$ repldb list [prefix]                   # List keys from the database
$ repldb nuke [options]                  # Nuke the database. This is irreversible!