hookdeck-cli
hookdeck-cli copied to clipboard
Add ability to listen to multiple sources at once with the CLI
How
- Add the
*
select to thelisten
command. Right now you can dohookdeck listen 9001 shopify
which starts the CLI without a source select prompt for the source specified. Withhookdeck listen 9001 *
we could let you select all sources - Support comma delimited source selector. Same as #1 but
hookdeck listen 9001 shopify,stripe
to start on a set of sources - On
hookdeck listen 9001
the source select prompt should have a “all” option which has the same behavior as*
- When the CLI starts, the terminal printout should support multiple sources & URL. The terminal should probably only print the first ~10. The connection name also needs to display the full name with the source prefix like
shopify -> out-of-stock
The backend should already support this as only a set of connection IDs are expected
Caveat & questions
They *
could cause problem if there are thousands of sources, should we put a upper bound of the first 100 as a limitation?