dispatch: Inspect dispatch rules or trace a URL
Inspect dispatch rules or trace a URL.
Syntax
bin/zotonic dispatch <site_name> [path|detail]
bin/zotonic dispatch <URL>
Requirements and effects
Requires a running node and reads its dispatch information.
A site argument lists rules; detail includes options and hostname information. A path traces routing within the site, while a full HTTP or HTTPS URL also supplies a hostname. This inspects dispatch and does not perform an ordinary end-to-end HTTP request.
Example
bin/zotonic dispatch garden /welcome
Run commands from the Zotonic workspace root. Replace garden with your site name where applicable.