Replit CLI

Note

If you find that the replit command is not found in your path, try python -m replit instead.

replit

CLI for interacting with your Repl’s DB.

replit [OPTIONS] COMMAND [ARGS]...

Options

--version

Show the version and exit.

del

Delete the key-value pair located at the given key.

replit del [OPTIONS] KEY

Arguments

KEY

Required argument

dump

Write all keys and values in the DB to a JSON file.

replit dump [OPTIONS] FILE_PATH

Arguments

FILE_PATH

Required argument

match

List all keys that match the given prefix.

replit match [OPTIONS] PREFIX

Arguments

PREFIX

Required argument

nuke

Wipe ALL key-value pairs in the DB.

replit nuke [OPTIONS]

Options

--i-am-sure

set

Add a given key-value pair to the DB.

replit set [OPTIONS] KEY VAL

Arguments

KEY

Required argument

VAL

Required argument