feat: add TOML codec and envc format support

New toml package (pelletier/go-toml/v2) matching yaml/json options and merge flow.
envc convert/get/merge accept --from/--to toml; fixture and CLI tests; docs refresh.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-03 10:42:21 +01:00
co-authored by Cursor
parent 2d7b97f5ae
commit 474cd88739
16 changed files with 307 additions and 16 deletions
+1
View File
@@ -5,6 +5,7 @@ go 1.22.2
require (
github.com/go-viper/mapstructure/v2 v2.5.0
github.com/joho/godotenv v1.5.1
github.com/pelletier/go-toml/v2 v2.2.3
gopkg.in/ini.v1 v1.67.0
gopkg.in/yaml.v3 v3.0.1
)