The option parser is mostly already planner independent. The planner dependent
part is once the
-commandline.cc separates the command line input and either forwards it to the
option parser or does its own stuff. The current idea is to move the
commandline.{h,cc} one directory up and out of the option parser.
-the option parser uses some code from utils. This is in general fine, as most
utility stuff is planner independent. Currently we are only aware of the Exit
Codes which are planner dependent chosen. Ways to get around that are:
Require one specific ExitCode (e.g. OptionParserError) to exist, throw an
exception and the planner has to handle it (currently favored)
|