Provide a configuration file in addition to the existing CLI options as a way to capture the execution in the config file. Python has a library method to do this which I have used in other projects.
see ptdropper/dt_api@88874bf and ptdropper/dt_api@de76e48