Expand description
Key-value processor for gitlab.rb-style configuration files.
Handles files with lines of the form:
key = "value"
key = 'value'
key = value
# comment lines are preservedThe delimiter, comment prefix, and quoting style are configurable
via the profile’s options map.
§Profile Options
| Key | Default | Description |
|---|---|---|
delimiter | "=" | The key-value separator. |
comment_prefix | "#" | Lines starting with this (after whitespace) |
| are treated as comments and preserved as-is. |
§Formatting Preservation
- Blank lines, comment lines, and indentation are preserved verbatim.
- The original quoting style (single, double, or unquoted) is kept.
- Whitespace around the delimiter is preserved where possible.
Structs§
- KeyValue
Processor - Structured processor for key = value configuration files.