adg_script/main.py

17 lines
323 B
Python
Raw Normal View History

2024-01-09 22:20:55 +00:00
from adg_control import AdgClient, ADG_EXE, ADG_DIR
from parser import Parser
from cache import Cache
2024-01-09 22:20:55 +00:00
def main():
parser = Parser("./test")
client = AdgClient(ADG_EXE, ADG_DIR)
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()