feat: implement remove command with sequential removals
This commit is contained in:
32
testdata/remove/basic/README.md
vendored
Normal file
32
testdata/remove/basic/README.md
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
# Remove Command Scenario Fixtures
|
||||
|
||||
Use this directory to capture realistic file layouts for the `renamer remove` tests.
|
||||
|
||||
## Layout
|
||||
|
||||
```
|
||||
testdata/remove/basic
|
||||
├── project copy draft.txt
|
||||
├── Project copy.txt
|
||||
├── nested
|
||||
│ ├── foo draft.txt
|
||||
│ ├── foo draft draft.txt
|
||||
│ └── hidden
|
||||
│ └── .draft copy.md
|
||||
├── collisions
|
||||
│ ├── alpha draft.txt
|
||||
│ └── alpha.txt
|
||||
└── empty-basename
|
||||
├── draft
|
||||
└── draft.txt
|
||||
```
|
||||
|
||||
## Scenarios Covered
|
||||
|
||||
- Sequential removals (`" copy"`, `" draft"`) collapsing multiple terms.
|
||||
- Duplicate token handling in nested directories.
|
||||
- Hidden file interactions requiring the `--hidden` flag.
|
||||
- Name collisions after removal (should report conflict prior to apply).
|
||||
- Entries that would become empty names, verifying they are skipped with warnings.
|
||||
|
||||
Adjust or extend files as additional edge cases are added to integration tests.
|
||||
Reference in New Issue
Block a user