Skip to content

registryctl

Command Required flags Purpose
whoami Show the key, creating it if missing
publish -registry -relay -file -origin -origin-public Upload files and publish a version
remove -registry -relay -name Withdraw an asset
revoke -registry -relay -all Withdraw every version
intent -registry -relay -name -action Set a distribution intent
resume -registry -relay Send pending events
recover -registry -relay Rebuild the state file
read -author -registry -relay Resolve a registry
search -q -relay Search names
fetch -author -registry -name -out -relay Download and verify
Flag Default Meaning
-key KEY_FILE or registry.key Author key
-state <registry>.registry.json, with / replaced by _ State file
-relay Relay. Repeatable
-ack 1 Relays that must accept each event
-quorum 2 Indexers to consult
-watchdog Trusted watchdog. Repeatable
-file path or name=path. Repeatable
-chunk 8 MiB Chunk size
-origin, -origin-public ORIGIN_URL, ORIGIN_PUBLIC_URL Upload address and public address
-proxy DFDAEMON_PROXY Distribution peer for downloads

ORIGIN_TOKEN authenticates uploads. ALLOW_PRIVATE=true permits private addresses. Policy flags are described in Publishing.