feat: add --ini-preserve-quotes flag for INI round-trip quote preservation (#2728)

Add INIPreferences.PreserveSurroundedQuote option that wires through to
go-ini/ini's LoadOptions.PreserveSurroundedQuote. When enabled, existing
surrounding quotes on INI values are preserved during decode/encode
round-trips.

Fixes #2456

Co-authored-by: toller892 <toller892@gmail.com>
This commit is contained in:
Tony
2026-06-06 16:20:29 +10:00
committed by GitHub
co-authored by toller892
parent 5b19ddbcd0
commit 6f9201a0ca
6 changed files with 64 additions and 12 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
package yqlib
func NewINIDecoder() Decoder {
func NewINIDecoder(prefs INIPreferences) Decoder {
return nil
}