Allow json output

Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
Bryan Frimin
2026-06-30 19:07:03 +02:00
parent c3bb19a780
commit 3f70047f72
4 changed files with 91 additions and 11 deletions

View File

@@ -331,7 +331,7 @@ func generateConfig() (string, error) {
path := filepath.Join(tmpDir, "probod.yml")
if err := bootstrap.WriteConfig(cfg, path); err != nil {
if err := bootstrap.WriteConfig(cfg, path, bootstrap.FormatYAML); err != nil {
return "", fmt.Errorf("write config: %w", err)
}