Move --registry / --catalog-url onto index & refresh subcommands #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "registry-subcommand-opt"
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?
These options only apply to enrichment, so define them on the index and refresh
commands (via a shared enrichment-source-options helper) instead of globally.
Now
lispsearch index --registry ...works — the natural ordering — rather thanrequiring the flag before the subcommand. with-cli-db's getopt* already walks the
command, so the binding chokepoint is unchanged; commands without the option just
fall back to the registry / catalog-url defaults.
Tests: cli-options-wired now asserts --db is global while --registry/--catalog-url
are on index & refresh (and not global); m4-cli.sh checks
index --help.Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com