feat: add replace subcommand with multi-pattern support

This commit is contained in:
Rogee
2025-10-29 17:46:54 +08:00
parent fa57af8a26
commit ceea09f7be
42 changed files with 1848 additions and 14 deletions

27
testdata/replace/README.md vendored Normal file
View File

@@ -0,0 +1,27 @@
# Replace Command Fixtures
This directory contains lightweight fixtures for manual and automated testing of the `renamer
replace` command.
## Structure
```
replace/
├── case-sensitivity/
│ ├── draft.txt
│ ├── Draft.txt
│ └── README.md
├── multi-pattern/
│ ├── alpha-beta.txt
│ ├── beta-gamma.log
│ ├── nested/
│ │ └── gamma-delta.md
│ └── README.md
└── hidden-files/
├── .draft.tmp
├── notes.txt
└── README.md
```
Each subdirectory contains intentionally blank files used to verify preview, apply, and undo
behaviour. Customize or copy these fixtures as needed for new tests.