ConfigArgParse
ConfigArgParse copied to clipboard
Option to not exit after write_config_file
line 620: self.write_config_file(namespace, output_file_paths, exit_after=True)
It would be nice to have the option to not exit after the write. Is there a specific reason an exit must happen?
When I originally wrote that code, I thought it should work like the --help arg. Is there a reason you can't run the command 2x - once with, once without the arg?
Running twice would be awkward. Using this in a web back end that uses many arguments from user form input that then creates a resulting PDF. Really wanted a way to save and run at the same time to store off all the user input so it could be recreated exactly if needed.
I have a possible solution (490fece). It works with for my use case. I'm just not sure if there are side effects for folks that use it some other way.