Update README (#1389)

This commit is contained in:
Mostafa Moradian 2025-11-29 19:52:14 +01:00 committed by GitHub
parent 6323373789
commit aed6f8cae7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,16 +41,17 @@ human review.
## Operations
`yamlpatch` supports several types of patch operations:
`yamlpatch` supports the following patch operations:
- **Replace**: Replace a value at a specific path
- **Add**: Add new key-value pairs to mappings
- **Remove**: Remove keys or elements
- **MergeInto**: Merge values into existing mappings
- **Append**: Append items to block sequences
- **ReplaceComment**: Replace comments associated with features
- **RewriteFragment**: Rewrite portions of string values (useful for templating)
Each operation is designed to work with the existing document structure
and formatting, making minimal changes while achieving the desired result.
Each operation preserves the document's formatting and structure (as best-effort).
## License