Пример #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)
Пример #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)
Пример #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)
Пример #4
0
def main():
    """Invoked by the script installed by setuptools."""
    clihelper.setup('tinman', __desc__, __version__)
    add_required_config_keys()
    clihelper.run(TinmanController)
Пример #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)
Пример #7
0
def main():
    clihelper.setup('newrelic_plugin_agent',
                    'New Relic Platform Plugin Agent',
                    __version__)
    clihelper.run(NewRelicPluginAgent)
Пример #8
0
def main():
    clihelper.setup('apiaryd', apiary.__doc__.strip(), apiary.__version__)
    clihelper.run(ApiaryController)
Пример #9
0
def main():
    """Invoked by the script installed by setuptools."""
    clihelper.setup('tinman', __desc__, __version__)
    add_required_config_keys()
    clihelper.run(TinmanController)
Пример #10
0
def main():
    """Called when invoking the command line script."""
    clihelper.setup('rejected', 'RabbitMQ consumer framework', __version__)
    clihelper.run(Controller, _cli_options)