CLI
Run JetClient API requests and tests from the command line without the IDE. Perfect for CI/CD pipelines, automated testing, and headless environments.
Requirements
- Java 17 or higher
Installation
-
Download the latest release from GitHub Releases (
jetclient-cli.ziporjetclient-cli.tar.gz) -
Extract the archive:
# For zip
unzip jetclient-cli.zip
# For tar.gz
tar -xzf jetclient-cli.tar.gz- The extracted folder contains:
jetclient-cli/
├── bin/
│ ├── jetclient # Unix/macOS launcher
│ └── jetclient.bat # Windows launcher
└── lib/
└── ... # JAR filesAdding to PATH (Recommended)
Unix/macOS - add to ~/.bashrc or ~/.zshrc:
export PATH="$PATH:/path/to/jetclient-cli/bin"Windows - add to system PATH via Environment Variables:
C:\path\to\jetclient-cli\binQuick Start
# Show help
jetclient --help
# Run all tests in current directory
jetclient run .
# Run with specific environment
jetclient run . -e production
# Run specific folder
jetclient run . -i "api/users"