Skip to content

Commit 7d33389

Browse files
authored
Merge pull request #104 from hookdeck/chore/multi-source-readme
chore: add multi-source example
2 parents 44dcf22 + 45a7622 commit 7d33389

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,29 @@ Inventory Service forwarding to /webhooks/shopify/inventory
133133
Orders Service forwarding to /webhooks/shopify/orders
134134

135135

136+
⣾ Getting ready...
137+
138+
```
139+
140+
#### Listen to multiple sources
141+
142+
`source-alias` can be a comma-separated list of source names (for example, `stripe,shopify,twilio`) or `'*'` (with quotes) to listen to all sources.
143+
144+
```sh-session
145+
$ hookdeck listen 3000 '*'
146+
147+
👉 Inspect and replay events: https://dashboard.hookdeck.com/cli/events
148+
149+
Sources
150+
🔌 stripe URL: https://events.hookdeck.com/e/src_DAjaFWyyZXsFdZrTOKpuHn01
151+
🔌 shopify URL: https://events.hookdeck.com/e/src_DAjaFWyyZXsFdZrTOKpuHn02
152+
🔌 twilio URL: https://events.hookdeck.com/e/src_DAjaFWyyZXsFdZrTOKpuHn03
153+
154+
Connections
155+
stripe -> cli-stripe forwarding to /webhooks/stripe
156+
shopify -> cli-shopify forwarding to /webhooks/shopify
157+
twilio -> cli-twilio forwarding to /webhooks/twilio
158+
136159
⣾ Getting ready...
137160

138161
```

0 commit comments

Comments
 (0)