def _list(self, opts):
    if opts.dataverse:
        opts.scope = opts.dataverse
    (clusters, errors) = self.rest.list_analytics_links(opts.scope, opts.name, opts.type)
    _exit_if_errors(errors)
    print(json.dumps(clusters, sort_keys=True, indent=2))
def _list(self, opts):
    if opts.dataverse:
        opts.scope = opts.dataverse
    (clusters, errors) = self.rest.list_analytics_links(opts.scope, opts.name, opts.type)
    _exit_if_errors(errors)
    print(json.dumps(clusters, sort_keys=True, indent=2))