From 5aed1a8d0561a6c1a689e1b68bfa2046d0f7a146 Mon Sep 17 00:00:00 2001 From: Alexandre Bouchard Date: Wed, 14 Oct 2026 22:05:57 -0400 Subject: [PATCH] docs(listen): default CLI destination is named cli-{source} The listen long description said "{source}-cli", but pkg/listen/connection.go creates the destination as "cli-". REFERENCE.md and the hookdeck.com CLI reference are generated from this text, so fix it at the source. Closes #423 Co-Authored-By: Claude Opus 5.5 --- REFERENCE.md | 2 +- pkg/cmd/listen.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/REFERENCE.md b/REFERENCE.md index 362c7082..b018b14c 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -203,7 +203,7 @@ You can listen to a single source, a comma-separated list of sources, or This command will create a new Hookdeck Source if it doesn't exist (single source only). -By default the Hookdeck Destination will be named "{source}-cli", and the +By default the Hookdeck Destination will be named "cli-{source}", and the Destination CLI path will be "/". To set the CLI path, use the "`--path`" flag. Authentication order: "`--cli-key`", then stored credentials from "hookdeck login" diff --git a/pkg/cmd/listen.go b/pkg/cmd/listen.go index 9511f629..d362a9f4 100644 --- a/pkg/cmd/listen.go +++ b/pkg/cmd/listen.go @@ -184,7 +184,7 @@ You can listen to a single source, a comma-separated list of sources, or This command will create a new Hookdeck Source if it doesn't exist (single source only). -By default the Hookdeck Destination will be named "{source}-cli", and the +By default the Hookdeck Destination will be named "cli-{source}", and the Destination CLI path will be "/". To set the CLI path, use the "--path" flag. Authentication order: "--cli-key", then stored credentials from "hookdeck login"