Metadata-Version: 2.4
Name: patch-path
Version: 1.0.0
Summary: Run a command with patched executables on the path
Project-URL: Homepage, https://github.com/yourusername/patch-path
Project-URL: Repository, https://github.com/yourusername/patch-path
Project-URL: Issues, https://github.com/yourusername/patch-path/issues
Author-email: "@readwithai" <talwrii@gmail.com>
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# patch-path
Run a command with patched executables on the path

This is vibe coded but I am using it.

## Alternatives and prior work
This is encouraged by patching frameworks like `mock` in python and the LD_PRELOAD environment variable.

You could patch your PATH directory and have it point at a directory containing patching programs


#  Usage
Patch fzf with a program that returns an empty string and log calls to fzf along with their input

```
patch-path --fzf  program
```

Patch fzf and have it return hello

```
patch-path --fzf=hello  program
```


