PaulHancock / Aegean

The Aegean source finding program and associated tools
http://aegeantools.rtfd.io/
Other
47 stars 14 forks source link

consider configargparse or similar to manage large sets of command line parameters #210

Open PaulHancock opened 7 months ago

PaulHancock commented 7 months ago

aegean has a very long list of arguments/parameters available from the command line, to the point that it takes 2-3 screens to view them all. It would be nice for users to be able to set all the parameters in a config file.

Some options are:

tjgalvin commented 4 months ago

For what it is worth i recently started to use configargparse in my flint package and it was a drop-in replacement. I was very happy with how easy it was.

The text file itself accepts a range of option formats - everything from a new-line delimited list of what you would others put on the cli, to a yaml format.