Open analytically opened 10 years ago
It's false by default, -echo or -echo=true enables it. I guess that you might already have figured this out :)
Yeah thanks! But it'd be nice if it's better documented...
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/
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.
Is it -echo true/false? Or just -echo to enable it?