# Webber CLI Command-line client for the Webber API. ## Installation ```bash # Create virtual environment python3.12 -m venv .venv source .venv/bin/activate # Install dependencies pip install -r requirements.txt # Install package in editable mode pip install -e . ``` ## Usage ```bash # Check API connection webber-cli status # Explore a codebase (streams by default) webber-cli explore "find all python files" -d /path/to/project # Batch mode (wait for full response) webber-cli explore "find bugs" -d /path/to/project --no-stream # Interactive chat mode webber-cli chat -d /path/to/project # Chat without streaming webber-cli chat -d /path/to/project --no-stream ``` ## Commands | Command | Description | |---------|-------------| | `status` | Check API connection and list available agents | | `explore QUERY` | One-shot codebase exploration | | `chat` | Interactive chat session | ## Options | Option | Short | Description | |--------|-------|-------------| | `--directory` | `-d` | Working directory for exploration | | `--api` | `-a` | API URL (default: `$WEBBER_API_URL` or `http://localhost:8095`) | | `--stream/--no-stream` | `-s` | Enable/disable streaming (default: enabled) | | `--agent` | | Agent to use (default: `explore`) | ## Configuration Set the API URL via environment variable: ```bash export WEBBER_API_URL=http://localhost:8095 ``` ## Requirements - Python 3.12+ - Webber API running (see `../webber-api/`)