Substitute Regex in files with prompt confirmation https://pypi.org/project/subprompt/
Go to file
Augusto Gunsch c5323ad2f1 Add surrouding lines preview 2022-11-15 17:08:20 +01:00
src/subprompt Add surrouding lines preview 2022-11-15 17:08:20 +01:00
.gitignore Publish to PyPI 2022-11-11 23:07:41 +01:00
LICENSE Add LICENSE 2022-11-11 23:11:53 +01:00
Makefile Publish to PyPI 2022-11-11 23:07:41 +01:00
README.md Fix usage message 2022-11-11 23:09:45 +01:00
pyproject.toml Publish to PyPI 2022-11-11 23:07:41 +01:00
requirements.txt Initial commit 2022-11-11 18:52:44 +01:00
setup.cfg Fix usage message 2022-11-11 23:09:45 +01:00

README.md

subprompt

Substitute every match of a regex in multiple files - with confirmation prompts. Usage:

subprompt [REGEX] [SUB] [FILES...]

Install it through PyPi:

python3.9 -m pip install subprompt