Usage: init [-y] [-registry SOURCE]... [-add-pubreg]

Create ttrek.json, ttrek-lock.json and the project environment.
-y accepts the default project name and version.
-registry saves the selected sources in ttrek-lock.json. Repeat it to set lookup
order. A single local directory uses "registry"; other lists use "registries".
Later install, update, pretend and gen-script commands reuse it unless overridden.
Relative saved paths resolve from the project directory.
-add-pubreg appends the public default and saves {"public":true} as the last
registries entry. It uses the synced ~/.local/ttrek-registry when available,
otherwise https://ttrek.sh/registry, without saving a machine-specific path.

The first registry containing a package supplies its versions and recipe.
Only an absent package advances to the next registry; other errors stop lookup.
Explicit sources replace the saved list and defaults for this invocation.
