https://github.com/dainfloop/repldb-cli
https://github.com/dainfloop/repldb-cli
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dainfloop/repldb-cli
- Owner: DaInfLoop
- Created: 2023-04-19T18:50:46.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-19T20:43:50.000Z (about 3 years ago)
- Last Synced: 2025-06-13T05:03:41.801Z (12 months ago)
- Language: JavaScript
- Homepage: replit.com/@haroon/ReplDB-CLI
- Size: 179 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!
```