def _get(self, opts):
    if (opts.replicator_id is None):
        _exit_if_errors(['--xdcr-replicator is need to get the replicator settings'])
    (settings, errors) = self.rest.get_xdcr_replicator_settings(opts.replicator_id)
    _exit_if_errors(errors)
    print(json.dumps(settings, indent=4, sort_keys=True))
def _get(self, opts):
    if (opts.replicator_id is None):
        _exit_if_errors(['--xdcr-replicator is need to get the replicator settings'])
    (settings, errors) = self.rest.get_xdcr_replicator_settings(opts.replicator_id)
    _exit_if_errors(errors)
    print(json.dumps(settings, indent=4, sort_keys=True))