# Path: interface/messages.py
# def print_success(*args, **kwargs):
#     print(Color.GREEN + Color.BOLD + "[+]" + Color.ENDC, *args, **kwargs)
# 
# def print_help(*args, **kwargs):
#     print(Color.PURPLE + Color.BOLD + "[?]" + Color.ENDC, *args, **kwargs)
# 
# def print_info(*args, **kwargs):
#     print(Color.BLUE + Color.BOLD + "[*]" + Color.ENDC, *args, **kwargs)


import core.Misc
import core.io
import datetime
import math
from interface.messages import print_success, print_help, print_info
    start_date = datetime.date.today().isoformat()
    end_date = datetime.date.today()
    end_date += datetime.timedelta(days=1)
    end_date = end_date.isoformat()

    def __init__(self):
        core.Misc.RextMisc.__init__(self)

    def do_set(self, e):
        args = e.split(' ')
        if args[0] == "start":
            self.start_date = args[1]  # Date format validation should be here.
        elif args[0] == "end":
            self.end_date = args[1]

    def do_start(self, e):
        print_info(self.start_date)

    def do_end(self, e):
        print_info(self.end_date)

    def help_set(self):
        print_help("Set value of variable: \"set start 2015-06-01\"")

    def help_start(self):
        print_help("Prints value of variable start_date")
        print("In this module both start and end date must be specified!")
        print("Password for date in end_date is not generated! (Not inclusive loop)")

    def help_end(self):

# Path: interface/messages.py
# def print_success(*args, **kwargs):
#     print(Color.GREEN + Color.BOLD + "[+]" + Color.ENDC, *args, **kwargs)
# 
# def print_help(*args, **kwargs):
#     print(Color.PURPLE + Color.BOLD + "[?]" + Color.ENDC, *args, **kwargs)
# 
# def print_info(*args, **kwargs):
#     print(Color.BLUE + Color.BOLD + "[*]" + Color.ENDC, *args, **kwargs)


# Path: modules/misc/arris/tm602a_password_day.py
import core.Misc
import core.io
import datetime
import math
from interface.messages import print_success, print_help, print_info

    start_date = datetime.date.today().isoformat()
    end_date = datetime.date.today()
    end_date += datetime.timedelta(days=1)
    end_date = end_date.isoformat()

    def __init__(self):
        core.Misc.RextMisc.__init__(self)

    def do_set(self, e):
        args = e.split(' ')
        if args[0] == "start":
            self.start_date = args[1]  # Date format validation should be here.
        elif args[0] == "end":
            self.end_date = args[1]

    def do_start(self, e):
        print_info(self.start_date)

    def do_end(self, e):
        print_info(self.end_date)

    def help_set(self):
        print_help("Set value of variable: \"set start 2015-06-01\"")

    def help_start(self):
        print_help("Prints value of variable start_date")
        print("In this module both start and end date must be specified!")
        print("Password for date in end_date is not generated! (Not inclusive loop)")

    def help_end(self):

        print_help("Prints value of variable end_date")