Override multiple input and output terminals example

These examples describe how to override multiple input and output terminals on both Windows and Unix.

Windows:

flow test.json has two input and output terminals and is deployed to the c:\deployment\testflow directory. Input files are located in c:\deployment\testflow\in folder and output files are in c:\deployment\testflow\out folder

cd <install dir>

flowcmdserver.exe –-dir c:\deployment\testflow –-flow test.json –-input “1;FILE;in\input1.txt” –-input “2;FILE;in/input2.txt” –-output “1;FILE;out/output1.txt” –-output “2;FILE;out\output2.txt”
Note: Both forward slash (/) and the backslash (\ )directory separators are supported on Windows.

Unix:

flow test.json has two input and output terminals and is deployed to the c/deployment/testflow directory.

Input files are located in the /deployment/testflow/in folder, and output files are located in the /deployment/testflow/out folder.

cd <install dir>

flowcmdserver -–dir /deployment/testflow -–flow test.json -–input “1;FILE;in/input1.txt” -–input “2;FILE;in/input2.txt” -–output “1;FILE;out/output1.txt” -–output “2;FILE;out/output2.txt”

The flow working directory is set with the –dir command line option. The flow name test.json is loaded from /deployment/testflow/test.json. The first flow input is loaded from /deployment/testflow/in/input1.txt.