Running the Agent in Command Line Mode (DAI Run Agent)
You can configure and run the DAI Run Agent from the command line, without the user interface.
-
From the command prompt, navigate to the agent directory. For example:
- For Windows:
C:\Program Files (x86)\eggplantDAIRunAgent\
- For Mac:
/Applications
- For Linux: (The path in which your
eggplantDAIRunAgent
executable is extracted to)
- For Windows:
-
Run the agent executable, and add the appropriate arguments:
- For Windows:
eggplantDAIRunAgent.exe [arguments]
- For Mac:
./eggplantDAIRunAgent [arguments]
- For Linux:
./eggplantDAIRunAgent [arguments]
- For Windows:
Simple example of Running the DAI Run Agent
If you provide the DAI Run Agent the path to the downloaded .ini
file. (How to create a DAI Environment). In a bash shell terminal on a Mac Or Linux-based system, if EPF's GUI is not required, you can launch the DAI Run Agent with these arguments:
Mac/Linux:
./eggplantDAIRunAgent --ini-file "my envs/my_env.ini"
You must wrap the file path in quotes if it contains spaces.
Windows:
“C:\Program Files (x86)\eggplantDAIRunAgent\eggplantDAIRunAgent.exe” --ini-file "C:\Users\{user}\my_env.ini"