Ejemplo n.º 1
0
def main():
    clihelper.setup('newrelic_plugin_agent', 'New Relic Platform Plugin Agent',
                    __version__)
    try:
        clihelper.run(NewRelicPluginAgent)
    except parser.ParserError as error:
        logging.basicConfig(level=logging.CRITICAL)
        LOGGER.critical('Parsing of configuration file failed: %s', error)
Ejemplo n.º 2
0
def main():
    clihelper.setup('newrelic_plugin_agent',
                    'New Relic Platform Plugin Agent',
                    __version__)
    try:
        clihelper.run(NewRelicPluginAgent)
    except parser.ParserError as error:
        logging.basicConfig(level=logging.CRITICAL)
        LOGGER.critical('Parsing of configuration file failed: %s', error)
Ejemplo n.º 3
0
def main():
    clihelper.setup(
        "PhysalisNotifier",
        "Physalis Notifier component to send "
        "email messages to users registered with a summary including filtered "
        "entries.",
        "0.0.1",
    )
    clihelper.run(PhysalisNotifier)
Ejemplo n.º 4
0
def main():
    """Invoked by the script installed by setuptools."""
    clihelper.setup('tinman', __desc__, __version__)
    add_required_config_keys()
    clihelper.run(TinmanController)
Ejemplo n.º 5
0
def main():
    clihelper.setup('apiaryd', apiary.__doc__.strip(), apiary.__version__)
    clihelper.run(ApiaryController)
def main():
    clihelper.setup('github_issue_autoresponder', DESCRIPTION, __version__)
    clihelper.run(Controller)
Ejemplo n.º 7
0
def main():
    clihelper.setup('newrelic_plugin_agent',
                    'New Relic Platform Plugin Agent',
                    __version__)
    clihelper.run(NewRelicPluginAgent)
Ejemplo n.º 8
0
def main():
    clihelper.setup('apiaryd', apiary.__doc__.strip(), apiary.__version__)
    clihelper.run(ApiaryController)
Ejemplo n.º 9
0
def main():
    """Invoked by the script installed by setuptools."""
    clihelper.setup('tinman', __desc__, __version__)
    add_required_config_keys()
    clihelper.run(TinmanController)
Ejemplo n.º 10
0
def main():
    """Called when invoking the command line script."""
    clihelper.setup('rejected', 'RabbitMQ consumer framework', __version__)
    clihelper.run(Controller, _cli_options)