An open API service indexing awesome lists of open source software.

https://github.com/dainfloop/repldb-cli


https://github.com/dainfloop/repldb-cli

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          

# repldb-cli
> Interact with ReplDB via the command line

Install:
```sh
$ 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
```sh
$ repldb [options] [command]
```

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