Open philippkraft opened 6 years ago
I'd like to work on this please!
Would be super - I don't have the time for it. How about an early WIP pull request, for a joint discussion on the design and naming?
In fact, this idea was inspired by #120 and my clumsy pseudo interface in spot_setup_cmf_lumped.py (I made real argparse
interfaces in the past, they work well but not easy to make in a hurry).
A third configuration source could be a configuration file.
The Command Line Interface should be available now, general use can be found in #174. Whats still missing is a short explanation in the documentation, which is why I leave this issue open.
It would be nice to be able to set the sampler arguments with command line options. All we need is a module using the
argparse
module. Proposed usage in code:Usage exampler from the command line
Even better if all options can also be set via environmental variables, eg. SPOTPY_SAMPLER, SPOTPY_RUNS