config command manages Patcha settings for your project.
Usage
Subcommands
list
Show current configuration.set-provider
Set the LLM provider.anthropic- Anthropic Claudegoogle- Google Geminiopenai- OpenAI GPTnone- Disable AI features
set-api-key
Set API key for a provider.auto-fix
Configure auto-fix levels.| Option | Description |
|---|---|
--level1 | Enable/disable level 1 auto-fix |
--level2 | Enable/disable level 2 smart upgrade |
--level3 | Enable/disable level 3 AI-assisted |
Configuration File
Patcha stores configuration in.patcharc in your project root:
Environment Variables
You can also configure via environment variables:| Variable | Description |
|---|---|
ANTHROPIC_API_KEY | Anthropic Claude API key |
OPENAI_API_KEY | OpenAI API key |
GOOGLE_API_KEY | Google Gemini API key |
