ecuxpro run-script
Execute the given script file(s) on the given input file and save the result in the specified output file. E.g.: ecuxpro run-script -i ./input.arxml -e ./EvaluatedVariantSet.arxml -l ./locationA,./locationB -t task1,task2 -a 'task1' -a '--name=str1 --value=1' -a 'task2, --str2 2' ./output.arxml
Command
ecuxpro run-script -i=<file> [-i=<file>]... [-e=<file>[,<file>...]]... -l=<location>[,<location>...]
[-l=<location>[,<location>...]]... -t=<taskName>[,<taskName>...] [-t=<taskName>[,
<taskName>...]]... [-a=<arg>]... [--no-save] <output-file>
Usage
Usage: ecuxpro run-script [-h] -i=<file> [-i=<file>]... [-e=<file>[,<file>...]]... -l=<location>[,<location>...]
[-l=<location>[,<location>...]]... -t=<taskName>[,<taskName>...] [-t=<taskName>[,
<taskName>...]]... [-a=<arg>]... [--no-save] <output-file>
Description:
Execute the given script file(s) on the given input file and save the result in the specified output file.
E.g.: ecuxpro run-script -i ./input.arxml -e ./EvaluatedVariantSet.arxml -l ./locationA,./locationB -t task1,task2 -a
'task1' -a '--name=str1 --value=1' -a 'task2, --str2 2' ./output.arxml
Parameters:
* <output-file> The output file to be generated.
Options:
* -i, --input=<file> The input file to be processed.
-e, --evs=<file>[,<file>...] The Evaluated Variant Set file to be evaluated. It is only required for
variant input files.
* -l, --location=<location>[,<location>...] Script file(s) to execute.
E.g.: -l .\locationA, .\locationB
* -t, --task=<taskName>[,<taskName>...] The tasks to be executed. Only tasks of type DV_ON_ECU_EXTRACT_PRODUCER
are considered.
-a, --arg=<arg> Define a set of arguments specific to a single task.
E.g.: -a 'task1' -a '--name=str1 --value=1' -a 'task2' -a '-i 1,2,3'
--no-save Prevent saving the project to disk.
-h, --help Display the help.
For the meaning of the returned exit codes, see Exit Codes.