Katello/katello — pull request #132 by tstrachota (2012-05-18 21:07:19+00:00)
Title: CLI refactoring

Contains:
- methods for option validation extracted from class Action to new OptionValidator
- simplified tests of required options
- action's parser and validator were moved from class to local variables

This changes should help to achieve simpler and cleaner testing. New validator also makes it easier to check options in actions and reduces necessary code lines.