Facilitates precise, line-based modifications to text files within specified directories via string or regex pattern matching.
Edit File Lines is a TypeScript-based server designed for making precise, line-based edits to text files. It offers tools for replacing entire lines or specific text matches using string or regular expression patterns, preserving line formatting and handling multiple lines. The server features a dry-run mode to preview changes and an approval mechanism for secure application of edits, ensuring controlled modifications to files within allowed directories.