← CLI Reference
Configuration
Global and project-level configuration options.
Global Config
Stored in ~/.sourceprep/config.json (Mac/Linux) or %APPDATA%\prep\config.json (Windows).
Contains daemon settings, global model preferences, and license information. You typically edit this via the Dashboard settings, but it can be modified manually.
Project Config
Stored in the internal SQLite database (managed via CLI/Dashboard). You can also place a .sourceprep/config.json in your project root to override settings for that specific repo.
.sourceprep/ignore
Works exactly like .gitignore. Use this to exclude files from indexing that you might want to keep in git (or local-only files not in gitignore).
# Example .sourceprep/ignore *.lock docs/generated/ legacy/Environment Variables
You can override certain behaviors using environment variables.
| Variable | Values | Description |
|---|---|---|
| PREP_ENGINE | auto | rust | python | Force the use of the Rust engine or Python fallback. Default: auto. |
| PREP_TIER | free | pro | team | enterprise | Override the license tier for testing/development. |
| PREP_LOG_LEVEL | DEBUG | INFO | WARNING | Set the logging verbosity for the daemon and CLI. |
