mirror of
https://github.com/tnypxl/rollup.git
synced 2025-12-15 15:03:17 +00:00
fix: Update Execute function to accept configuration and scraper config
This commit is contained in:
@@ -45,7 +45,8 @@ whose name is <project-directory-name>-rollup-<timestamp>.md.`,
|
||||
},
|
||||
}
|
||||
|
||||
func Execute() error {
|
||||
func Execute(config *config.Config, scraperConfig scraper.Config) error {
|
||||
cfg = config
|
||||
return rootCmd.Execute()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user