Add --registry / --catalog-url CLI flags via a with-config chokepoint #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "registry-flag"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Make the OCI registry (and catalog URL) overridable from the CLI without a
rebuild — previously registry (ghcr.io/ocicl) and catalog-url were only
settable from the REPL.
with-configmacro binds the registry / catalog-url specials fromoptional overrides (NIL keeps the compiled default), folded into
with-cli-dbso every command honors the flags through one chokepoint — no per-handler
duplication.
--registryand--catalog-urloptions with no :initial-value, soan absent flag falls back to the special (single source of the default).
Enrichment (ocicl list / oras pull) and catalog fetch pick them up, including
the lparallel workers, which capture registry at kernel creation inside the
bound extent.
Tests (offline): with-config override + fallback/unwind; top-command exposes
--db/--registry/--catalog-url. m4-cli.sh: --help lists the new flags.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com