Skip to content

Conversation

@mcarvin8
Copy link
Owner

With --strategy grouped-by-tag, -p/--split-tags accepts a spec to split or group specific nested tags into subdirs instead of one file per tag:

  • split: one file per array item, filename from a field (e.g. objectPermissions:split:object)
  • group: group array items by field value; when value contains '.', use segment before first '.' as key (e.g. fieldPermissions:group:field → one file per object)

Extract field values from both plain strings and #text-wrapped XML leaves. Add fixtures/split-tags and round-trip test.

With --strategy grouped-by-tag, -p/--split-tags accepts a spec to split or
group specific nested tags into subdirs instead of one file per tag:
- split: one file per array item, filename from a field (e.g. objectPermissions:split:object)
- group: group array items by field value; when value contains '.', use segment
  before first '.' as key (e.g. fieldPermissions:group:field → one file per object)

Extract field values from both plain strings and #text-wrapped XML leaves.
Add fixtures/split-tags and round-trip test.
@mcarvin8 mcarvin8 merged commit a0705ee into main Feb 11, 2026
5 checks passed
@mcarvin8 mcarvin8 deleted the feat/add-split-by-tags-strategy branch February 11, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant