Expand description
CLI argument parsing for decdn publish — the origin-publisher control
plane (issues #1029 / #1491, ADR 002 / ADR 011). Three write commands:
namespace create (PublisherRegistry.createNamespace), and then assign /
revoke (OriginAssignment.addOrigin / removeOrigin), which a vetted
publisher self-serves with no waiting. Vetting itself is granted out-of-band
by a VETTER_ROLE holder on the installed vetting policy (an operator,
multisig, or governance), not through this CLI. assign submits one
addOrigin per operator, so it is N transactions rather than one. Content is
bound to a namespace off-chain at fetch time, so there is no per-hash
on-chain claim.
Structs§
- Assign
Args decdn publish assign <namespace> <ops…>flags.- Namespace
Args decdn publish namespace <subcommand>(nested to match the issue’snamespace createphrasing and leave room for futurenamespace transfer).- Namespace
Create Args decdn publish namespace createflags.- Publish
Args decdn publish <subcommand>.- Publish
Chain Args - Chain coordinates shared by the publish subcommands. Mirrors
ChainArgsbut targets the publisher contracts (PublisherRegistry,OriginAssignment) instead ofCapacityBond. The common coordinates live inCommonChainArgs; this struct adds the two publisher-contract address flags. - Revoke
Args decdn publish revoke <namespace> <operator>flags.
Enums§
- Namespace
Command - Namespace lifecycle operations.
- Publish
Command - Publisher control-plane operations.