mirror of
https://github.com/zizmorcore/zizmor.git
synced 2025-12-23 08:47:33 +00:00
Update README (#1389)
This commit is contained in:
parent
6323373789
commit
aed6f8cae7
1 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue