def sublist_generator(input_list: list) -> list:
    """
    Given a list generates all possible combinations
    :param input_list: input list
    :return: all possible combinations of lists
    """
    list_of_lists = []
    list_max_pos = len(input_list)+1

    for initial_sublist_pos in range(list_max_pos):
        for final_sublist_pos in range(initial_sublist_pos+1, list_max_pos):
            list_of_lists.append(input_list[initial_sublist_pos:final_sublist_pos])
    return list_of_lists