Passing path variables with the Invoke Script
Overview
Passing variable for use in the runtime tool environment are typically necessary, in particular the "@tool" .
See the full invoke_app documentation.
@tool
The variable "@tool" can be passed into your tool via the invoke script. This is important information for you tool to know so that the tool can access example input files and static data files that reside in the respective directories. There are two way to pass the "@tool" location via the invoke script to the tool.
1) As an argument to the tool
-A "@tool"
2) As an environment variable
-e TOOL_REPO_PATH=@tool