Skip to main content

No project description provided

Project description

Replit CLI

logo

pip install repl-cli

Welcome to Replit CLI! With the Replit CLI Application, you can work with your repls locally, including clone, pull, and push, the core features of the CLI. The full list of features includes-

PS C:\> replit
Usage: replit [OPTIONS] COMMAND [ARGS]...

Options:
  --install-completion [bash|zsh|fish|powershell|pwsh]
								  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
								  Show completion for the specified shell, to
								  copy it or customize the installation.

  --help                          Show this message and exit.

Commands:
  clone    Clone a Repl's contents to your local machine
  db       Edit the Replit DB for a Repl
  env      Interact with the Environment of the Repl of the Current Working...
  exec     Execute a command to run on the remote repl.
  login    Authenticate with Replit CLI.
  pull     Pull the remote contents of the repl inside the working...
  push     Push changes to the server and override remote.
  run      Run, Stop, or Restart a Repl from your local machine.
  shell    Connect to a bash shell with a remote repl.
  user     Lookup the details for a Replit User
  version  Output the current version for Replit CLI
PS C:\>

Installation

  • Make sure you have Python 3.6 or higher installed. To do so, type python inside of a Command Prompt/Terminal instance. If you have Python installed, a Python shell will come up with the version number. (type quit() inside of the python shell to quit it) If you do not have Python 3.6+ or do not have Python at all, you can install it by downloading the installer for your platform located here
  • Once you have python, run the following command- pip install repl-cli, preferably with Administrator access (This includes Administrator accounts on macOS, and Run as Administrator on Windows) to make sure that your PC recognizes Replit CLI properly.
  • Once installed, type replit into a shell to get started!

Documentation

To see the docs and for information on finding your authorization token, click here

Building From Source

To build from source, run the following commands-

git clone https://github.com/CoolCoderSJ/Replit-CLI.git
cd .\replit-cli\replit_cli
python main.py

Credits

Thanks to the many people who helped grow this project-

  • @Codemonkey51 and @turbio for help with Crosis, the Replit API
  • @SpotandJake for help with the JS server counterpart, used for some operations.
  • @sugarfi for the initial Python Client for Crosis. (This has been tampered with and published to PyPI)
  • And everyone on the Replit Discord Server for the motivation, and general help.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

repl-cli-1.0.7.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

repl_cli-1.0.7-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file repl-cli-1.0.7.tar.gz.

File metadata

  • Download URL: repl-cli-1.0.7.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.7 Windows/7

File hashes

Hashes for repl-cli-1.0.7.tar.gz
Algorithm Hash digest
SHA256 c0708e6a19cfc8d57d01e040bc317f1c7224e42e82c9365cda8613af875d70a2
MD5 2e59839f46f2aec14063fc555908c91b
BLAKE2b-256 6ee084bab085b1b56108f9d9fa7d50ade5490c750bcd6599354b681784326580

See more details on using hashes here.

File details

Details for the file repl_cli-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: repl_cli-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.7 Windows/7

File hashes

Hashes for repl_cli-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f42f216339168486d38ce79b1249c8678b9c086ea14e0419fca3e242e4ed6eda
MD5 71e26597de53b808db780ec31bfaf9c5
BLAKE2b-256 fd21c4720312a4fde0dacd84cf88e3b884557449c68c4b35ff6c09746605429f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page