Configure your Script or Module with an overlaying config engine. Uses Microsoft.Extensions.Configuration as a backend.
Users can configure your module or script from a variety of sources: multiple json files, yaml files, command line parameters, environment variables, etc. and this gives you a simple unified and merged key-value pair table for all of those configuration points.
If you have ever used ASP.NET Configuration this will seem very familiar because it is the same engine 😊.
Check out the demo script