# pi-edit-replace-all

A small [pi](https://github.com/badlogic/pi-mono) package that overrides the built-in `edit` tool and adds:

- `replaceAll: true` to replace all exact occurrences of `oldText` in a file
- default behavior unchanged when `replaceAll` is omitted/false (delegates to built-in `edit`)

## Install

### npm

```bash
pi install npm:pi-edit-replace-all
```

### git

```bash
pi install git:github.com/davidbrai/pi-edit-replace-all
```
