Remove all crashlogs from one date up to another.

    The date can be specified as DAY-[MONTH-[YEAR]].

    Example:
        today, yesterday, 10, 10-09, 10-09-2015

def crashlog_cleanrange(from_day, up_to_day, **kwargs):
    """
    Remove all crashlogs from one date up to another.

    The date can be specified as DAY-[MONTH-[YEAR]].

    Example:
        today, yesterday, 10, 10-09, 10-09-2015
    """
    ctx = Context(**kwargs)
    ctx.execute_action('crashlog:cleanwhen', **{
        'storage': ctx.repo.create_secure_service('storage'),
        'from_day': from_day,
        'to_day': up_to_day,
    })