Running a script can be done in several ways:
load-target or run-script commands.target key in the script parameter section, since that effectively runs the specified script from the current script.In the first two cases, one can also provide arguments on the command line.
In the last case, the args section in the current script is used as input.
When running a script, the following happens:
args section in the script, then it is overridden using any arguments on the command line, or using the args section in the script containing the target key.params.setdefault to assign parameters.
If the parameter is already assigned this statement has no effect.params.setdefault to assign parameters.
If the parameter is already assigned this statement has no effect.Note that a script containing a target key may itself be called by another script using the target key.
It follows from the above that the arguments from the caller script overrides the callee, and by induction, in a series of caller script the arguments from the outermost script are used.