← Back to context

Comment by swah

4 days ago

Love this but also could never really stick to similar tools (codemod, fastmod..)

Main change I would need I think: to assume that if no replacement if provided, the user wants to edit each instance individually "inline" (or dropping into vim, not sure what works best - this model breaks once you want to swap lines, replace 1 word with multiple lines etc).

And ofc accept command line args for the initial search string (and optionally replacement) from command line so the first screen is skipped! (I think folder could be optional)

(I also tried to undo my changes after deleting words by accident but thats a hard ask! :D)