Improve option parsing facility so that option applicability can be specified

Issue #54 closed
Paul Ruane
repo owner created an issue

Currently the option parsing facility cannot capture option relationships which means invalid option combinations are not detected generally: instead these have to be checked for explicitly by each command.

There needs to be a way to specifiy:

  • An option that is only valid in the presence of other specific options.
  • An option that is not valid in the presence of other specific options.

Comments (3)

  1. Paul Ruane reporter

    Ideally option parsing would be outsourced to a third-party library but I could not find anything with sub-command command handling at the time. I need to review this periodically.

  2. Log in to comment