From 541030cf5b906a735186ea0d1a4a87a15f4b9d7f Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Sun, 8 Feb 2026 15:47:03 -0500 Subject: [PATCH] Add extra to yaml spec [minor] --- pkg/config/context.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/config/context.go b/pkg/config/context.go index 16a8bd1..face3d9 100644 --- a/pkg/config/context.go +++ b/pkg/config/context.go @@ -49,6 +49,10 @@ type Context struct { DatabaseName string `yaml:"database-name,omitempty"` ReadSmallFileFunc func(filename string) string `yaml:"-"` + + // Extra holds plugin-specific configuration. + // Each plugin uses its own key (e.g., "drupal", "isle", "wordpress"). + Extra map[string]yaml.Node `yaml:"extra,omitempty"` } // FileReader defines the behavior needed to read small files.