feat: add DownloadOptions importer (fetches pre-built options.json)
1 file changed, 14 insertions(+), 0 deletions(-)
changed files
M internal/importer/importer.go → internal/importer/importer.go
@@ -42,6 +42,20 @@ Logger: logger, } } +func NewDownloadOptionsImporter( + source *config.Source, + dataPath string, + logger *slog.Logger, +) *DownloadOptionsImporter { + fullpath := path.Join(dataPath, source.Channel) + + return &DownloadOptionsImporter{ + DataPath: fullpath, + Source: source, + Logger: logger, + } +} + type importConfig struct { Filename string Source *config.Source