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

Add configuration for output format and prefixes #5

Merged
merged 1 commit into from
Dec 1, 2015

Conversation

DannyBen
Copy link
Contributor

This PR comes to address the need (issue #1) for removing backticks and [stdout]/[stderr] markers from the output in some cases, like when using with HipChat.

It adds these three optional configuration parameters:

  config.handlers.cmd.output_format = "/code %s"   # example for nice HipChat output
  config.handlers.cmd.stdout_prefix = ""
  config.handlers.cmd.stderr_prefix = "ERROR: "

I have left the defaults as they were, and added documentation in the README.

@dfinninger
Copy link
Owner

Actually hadn't looked at this before writing #8. I'll take a look and see we can work this in.

@dfinninger dfinninger merged commit a6e7502 into dfinninger:master Dec 1, 2015
@dfinninger
Copy link
Owner

merged with 6aa45ca

@dfinninger dfinninger mentioned this pull request Dec 1, 2015
@DannyBen DannyBen deleted the custom-output branch December 1, 2015 15:42
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

Successfully merging this pull request may close these issues.

2 participants