def main():
    """
    Loop over a list of input text strings. Parse each string using a list of
    parsers, one included in megaparsex and one defined in this script. If a
    confirmation is requested, seek confirmation, otherwise display any response
    text and engage any triggered functions.
    """
    for text in [
        "how are you",
        "ip address",
        "restart",
        "run command",
        "rain EGPF",
        "reverse SSH"
        ]:
        print("\nparse text: " + text + "\nWait 3 seconds, then parse.")
        time.sleep(3)
        response = megaparsex.multiparse(
            text         = text,
            parsers      = [
                           megaparsex.parse,
                           parse_networking
                           ],
            help_message = "Does not compute. I can report my IP address and I "
                           "can restart my script."
        )
        if type(response) is megaparsex.confirmation:
            while response.confirmed() is None:
                response.test(
                    text = megaparsex.get_input(
                        prompt = response.prompt() + " "
                    )
                )
            if response.confirmed():
                print(response.feedback())
                response.run()
            else:
                print(response.feedback())
        elif type(response) is megaparsex.command:
            output = response.engage_command(
                command    = megaparsex.get_input(
                    prompt = response.prompt() + " "
                ),
                background = False
            )
            if output:
                print("output:\n{output}".format(output = output))
        else:
            print(response)
Loop over a list of input text strings. Parse each string using a list of
    parsers, one included in megaparsex and one defined in this script. If a
    confirmation is requested, seek confirmation, otherwise display any response
    text and engage any triggered functions.