Source code for kibitzr.notifier.bash

from ..bash import execute_bash


[docs]class BashNotify: def __init__(self, value): self.code = value def __call__(self, report): execute_bash(self.code, report)
[docs]def register(registry): registry['shell'] = registry['bash'] = notify_factory
[docs]def notify_factory(conf, value): return BashNotify(value)