def handle(self, *args, **options):
        # --date-from YY-MM-DD
        #   specify a date filter start
        #   default to first date in file
        # --date-to YY-MM-DD
        #   specify a date filter end
        #   default to now

        LOGFILE = options.get('file')

        try:
            data = analyze_log_file(LOGFILE, PATTERN, reverse_paths=options.get('reverse'))
        except __HOLE__:
            print "File not found"
            exit(2)

        print generate_table_from(data)
dataset/ETHPy150Open garethr/django-timelog/src/timelog/management/commands/analyze_timelog.py/Command.handle