原始内容
pi-edit-replace-all
A small pi package that overrides the built-in edit tool and adds:
replaceAll: trueto replace all exact occurrences ofoldTextin a file- default behavior unchanged when
replaceAllis omitted/false (delegates to built-inedit)
Install
npm
pi install npm:pi-edit-replace-all
git
pi install git:github.com/davidbrai/pi-edit-replace-all