diff --git a/timesearch.py b/timesearch.py index 3cec939..bdd5ea9 100644 --- a/timesearch.py +++ b/timesearch.py @@ -1,10 +1,17 @@ +''' +This is the main launch file for Timesearch. + +When you run `python timesearch.py get_submissions -r subredditname` or any +other command, your arguments will first go to timesearch_modules\__init__.py, +then into timesearch_modules\get_submissions.py as appropriate for your command. +''' + import logging handler = logging.StreamHandler() log_format = '{levelname}:timesearch.{module}.{funcName}: {message}' handler.setFormatter(logging.Formatter(log_format, style='{')) logging.getLogger().addHandler(handler) - import sys import timesearch_modules