Metadata-Version: 2.4
Name: pyrefly-config-adder
Version: 0.1.0
Summary: Add pyrefly config in pyproject.toml
Author-email: QuentinDELRIVE <quentindelrive@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/QuentinDelrive/pyrefly-config-adder
Project-URL: Issues, https://github.com/QuentinDelrive/pyrefly-config-adder/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# PyRefly Config Adder

A lightweight, idempotent CLI tool that automatically injects the [tool.pyrefly] configuration block into your pyproject.toml file.

Designed for developers who want to standardize their PyRefly setup across projects without manual copy-pasting.

## Uses
### Using UV
```bash
# uses the tool
uvx pyrefly-config-adder

# install globally the tool
uv tool install pyrefly-config-adder
pyrefly-config-adder # execute the cli
pca # shorter alias
```

### Using pip
```bash
pip install pyrefly-config-adder
pyrefly-config-adder
pca

python -m pca
python -m pyrefly-config-adder
```


## What it adds
Adds the following block to your `pyproject.toml`:
```toml
[tool.pyrefly]
project-excludes = [".venv/**"]
search-path = ["."]
python-interpreter = ".venv/bin/python"
site-package-path = ".venv/lib/site-packages"
```

