Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listen command help doesn't show an example with custom address #27

Open
leetrout opened this issue May 27, 2022 · 0 comments
Open

Listen command help doesn't show an example with custom address #27

leetrout opened this issue May 27, 2022 · 0 comments

Comments

@leetrout
Copy link
Contributor

leetrout commented May 27, 2022

Currently the help output for the listen command is:

$ hookdeck listen -h
Forward webhooks for a source to your local server

Usage:
  hookdeck listen [flags]

Flags:
  -h, --help   help for listen

Global Flags:
      --cli-key string        Your CLI key to use for the command
      --color string          turn on/off color output (on, off, auto)
      --config string         config file (default is $HOME/.config/hookdeck/config.toml)
      --device-name string    device name
      --log-level string      log level (debug, info, warn, error) (default "info")
  -p, --project-name string   the project name to read from for config (default "default")

If you run listen with no arguments:

$ hookdeck listen
Requires a port or forwarding URL to foward the webhooks to

We should change the description to include a reference to the required arguments as examples

hookdeck listen [flags] <hostname>[:port]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant