To simply run the build.capri file in the current directory, use:
You can also pass the name of the task to execute it like this:
For details on this, see the launching parameter rules.
The main script is script that is loaded by the command-line interface first. Unless a script is specified with the flag, the program looks for a script named "build.capri" within the current working directory.
All arguments that are passed to capri, which are no flags, are interpreted as expressions. These expressions are interpreted after the main script was loaded successfully. When an argument results in a task value, this task is executed (this means that passing the name of a task results in the task being called with no arguments).
When no arguments are passed, then
The command line interface is used to start capri scripts. The following flags are available:
-h, --help displays this help message
-v, --version displays the version and quits
-s, --script <path> uses the given script as the main script.
-p, --pipe allows piping a script into capri
-i, --interactive starts the interactive mode
-e, --environment prints architecture/system/target
-t, --target <value> specifies the target variable
--system <value> overrides the system variable
--architecture <value> overrides the architecture variable
All other arguments are handled as specified below in the launching rules.