Refactor hpcmain
This PR does mainly two things:
- Simplify the
helpListfunction by explicitly passing the plugins to thesectionfunction, instead of passing the names of the plugins which then have to be looked up. - Split the big
dispatchfunction into three smaller functions on the toplevel:dispatch,dispatchOnPluginanddispatchOnResponseFiles
This is all in preparation of the simplification of the command line parsing logic which is distributed all over the codebase.