8000 -echo? · Issue #6 · bketelsen/captainhook · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

-echo? #6

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

Open
analytically opened this issue Jun 5, 2014 · 4 comments
Open

-echo? #6

analytically opened this issue Jun 5, 2014 · 4 comments

Comments

@analytically
Copy link

Is it -echo true/false? Or just -echo to enable it?

@thomasf
Copy link
thomasf commented Dec 15, 2014

It's false by default, -echo or -echo=true enables it.
I guess that you might already have figured this out :)

@analytically
Copy link
Author

Yeah thanks! But it'd be nice if it's better documented...

@thomasf
Copy link
thomasf commented Dec 15, 2014

It is using the standard go flag package so it's behaving like most go command line apps with arguments.

If you want to understand it these are the captainhook flags:
https://github.com/bketelsen/captainhook/blob/master/main.go#L17

And this is how flags work:
http://golang.org/pkg/flag/

@macropin
Copy link

I think echo should be on by default. I was surprised when the webhooks returned 200 ok and no result. My expectation was that the payload would include the command output.

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

3 participants
0