Usage: ttrek run [-u|-g] [-package PACKAGE] -script NAME [-- ARGS...]
       ttrek run [-u|-g] COMMAND [ARGS...]

Run a named shell script from the project's ttrek.json, or a command in its
installed environment. -package selects the scripts saved with that installed
package's recipe. It requires -script and does not contact a registry.

Project scripts also accept {"file":"bin/task.sh","args":["preset"]}.
The file must be a regular executable, relative to the project root, without
'..' components or a symbolic link. It runs at its original path so its
shebang and script-relative paths keep working. args is an optional array of
strings, passed before arguments supplied after --, without shell expansion.

Pass script arguments after --. They are forwarded literally as $1, $2, ...;
shell scripts should use "$@" to forward them to their program. For example:
  ttrek run -package my-app -script start -- --port 3015 --data-dir "my data"
Options after -- are never interpreted as ttrek options. The separator also
works with direct commands: ttrek run -- COMMAND [ARGS...].

Use 'ttrek scripts -package PACKAGE ls' to list available package scripts.
Older installations without cached scripts need 'ttrek install -force PACKAGE'
with a recipe containing scripts. Use the same -u or -g mode when reinstalling.

Scripts run in the installation directory with its bin directory on PATH and
its libraries on LD_LIBRARY_PATH. PROJECT_HOME is the project root and
PROJECT_INSTALL_DIR is the absolute installation prefix. SHELL must be set.
Store runtime data outside ttrek-venv so package operations do not manage it.
