I wrote this script when transforming an Eleventy website into Walder where I needed to generate a large amount of config files, for which the path was just their location in the views folder. It might be useful to someone in the future.
walderconfiggenerator