2024-01-09 22:20:55 +00:00
|
|
|
from adg_control import AdgClient, ADG_EXE, ADG_DIR
|
|
|
|
from parser import Parser
|
2024-01-11 14:49:34 +00:00
|
|
|
from cache import Cache
|
2024-01-09 22:20:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
def main():
|
|
|
|
parser = Parser("./test")
|
|
|
|
client = AdgClient(ADG_EXE, ADG_DIR)
|
2024-01-11 14:49:34 +00:00
|
|
|
cache = Cache()
|
2024-01-09 22:20:55 +00:00
|
|
|
|
2024-01-11 16:23:31 +00:00
|
|
|
for command in parser.commands:
|
|
|
|
command.execute(client, cache)
|
2024-01-09 22:20:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
main()
|