The Judgment CLI is a command-line tool that allows you to manage your Judgment resources and backend infrastructure.

Installation

Make sure you have Python installed on your system before proceeding with the installation.

To install the Judgment CLI, follow these steps:

  1. Clone the repository:
git clone https://github.com/JudgmentLabs/judgment-cli.git
  1. Navigate to the project directory:
cd judgment-cli
  1. Set up a fresh Python virtual environment:

Choose one of the following methods to set up your virtual environment:

python -m venv venv
source venv/bin/activate  # On Windows, use: venv\Scripts\activate
  1. Install the package:
pip install -e .

Verifying the Installation

To verify that the CLI was installed correctly, run:

judgment --help

You should see a list of available commands and their descriptions.

Available Commands

The Judgment CLI provides the following commands:

Self-Hosting Commands

CommandDescription
judgment self-host mainDeploy a self-hosted instance of Judgment (and optionally set up the HTTPS listener)
judgment self-host https-listenerSet up the HTTPS listener for a self-hosted Judgment instance

For detailed information about each command, refer to their respective documentation pages in this section.

Next Steps

After installing the CLI, you can: