Examples:
Documentation
CLI Reference
The CLI exposes a couple of commands that can be used to configure the application. It can be accessed by running:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
swizz [OPTIONS]
| Flag | Description | Default |
|---|---|---|
--version | Show the installed version and exit | — |
--api-key TEXT | OpenRouter API key (also read from OPENROUTER_API_KEY env var) | None |
--model TEXT | Model to use at startup (e.g. openai/gpt-4o, ollama/llama3) | openai/gpt-4o |
--dev | Enable development mode with Textual debug logging to textual.log | False |
# Start with a specific model
swizz --model anthropic/claude-3.5-sonnet
# Pass your OpenRouter API key directly
swizz --api-key sk-or-...
# Start in dev mode for troubleshooting
swizz --dev