adg_script/main.py

21 lines
359 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
def main():
parser = Parser("./test")
client = AdgClient(ADG_EXE, ADG_DIR)
c1 = parser.commands[0]
c1.execute(client)
c2 = parser.commands[1]
c2.execute(client)
c3 = parser.commands[2]
c3.execute(client)
if __name__ == "__main__":
main()