def __init__(
            self, callback=None, options_metavar='[<options>]',
            subcommand_metavar='<command> [<args>]...',
            daemon_params=None, daemon_class=Daemon, is_worker=True,
            **attrs):
        self.daemon_params = daemon_params or {}
        self.daemon_class = daemon_class
        self.is_worker = is_worker

        if self.is_worker:
            # If the callback is the worker, then don't pass the
            # callback to the parent class so we don't call it twice
            self.daemon_params['worker'] = callback
            callback = None

        # The context object will be a Daemon object
        context_settings = {'obj': self.daemon_class(**self.daemon_params)}

        super(DaemonCLI, self).__init__(
            callback=callback, options_metavar=options_metavar,
            subcommand_metavar=subcommand_metavar,
            context_settings=context_settings, **attrs
        )
Runs the unit tests with coverage.
dataset/ETHPy150Open jnrbsn/daemonocle/daemonocle/cli.py/DaemonCLI.__init__--crossover with--dataset/ETHPy150Open realpython/flask-registration/manage.py/cov