In all command-style programs, I've found that I need some way to bootstrap the process. It almost always has command-line arguments or environmental variables. Environment variables are great but can be a bit opaque depending on how the program is run. My go-to is to include run-time argument support often seen as command-line arguments.
https://joe.blog.freemansoft.com/2024...