You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hookdeck works by routing events received for a given `source` (i.e., Shopify, Github, etc.) to its defined `destination` by connecting them with a `connection` to a `destination`. The CLI allows you to receive events for any given connection and forward them to your localhost at the specified port or any valid URL.
@@ -159,10 +159,10 @@ Orders Service forwarding to /webhooks/shopify/orders
159
159
160
160
#### Changing the path events are forwarded to
161
161
162
-
The `--cli-path` flag allows you to change the path to which events are forwarded.
162
+
The `--path` flag sets the path to which events are forwarded.
Copy file name to clipboardExpand all lines: pkg/cmd/root.go
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -98,9 +98,13 @@ func init() {
98
98
99
99
// Hidden configuration flags, useful for dev/debugging
100
100
rootCmd.PersistentFlags().StringVar(&Config.APIBaseURL, "api-base", "", fmt.Sprintf("Sets the API base URL (default \"%s\")", hookdeck.DefaultAPIBaseURL))
101
+
rootCmd.PersistentFlags().MarkHidden("api-base")
101
102
rootCmd.PersistentFlags().StringVar(&Config.DashboardBaseURL, "dashboard-base", "", fmt.Sprintf("Sets the web dashboard base URL (default \"%s\")", hookdeck.DefaultDashboardBaseURL))
rootCmd.PersistentFlags().StringVar(&Config.ConsoleBaseURL, "console-base", "", fmt.Sprintf("Sets the web console base URL (default \"%s\")", hookdeck.DefaultConsoleBaseURL))
0 commit comments