aboutsummaryrefslogtreecommitdiffstats
path: root/__run__.py
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2013-04-23 19:24:46 +0100
committerBryn M. Reeves <bmr@redhat.com>2013-04-23 19:24:46 +0100
commit4b46e044ef5cdfef2169618d852cddb84818d01b (patch)
treed90974e0b9fae249102d7f105aeee8dc8c79e30c /__run__.py
parentfd7f3d169589da19a4c81837b695989110f401ef (diff)
downloadsos-4b46e044ef5cdfef2169618d852cddb84818d01b.tar.gz
Move command line parsing out of SoSReport class
Separate the command line logic from the rest of the SoSReport class and add a new SoSOptions class to contain it. SoSOptions may either be initialised from a command line by passing in an argument list to the initializer or by creating an empty object and setting values for individual properties. For now a SoSOptions object is initialized in the SoSReport initializer (from the argument list passed from __main__). Eventually this will move into __main__ allowing SoSOptions and SoSReport to become an interface for external users. The next step is to move all input validation into the SoSOptions class (it's currently spread around the code that uses the options). Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to '__run__.py')
0 files changed, 0 insertions, 0 deletions