code: def format_find_results(args, results):
      
      if args.json:
          print(json.dumps(list(results), indent=4))
      elif args.brief:
          for result in results:
              print(result['id'])
      else:
          if args.func.__name__ in ("find_projects", "org_find_projects"):
              _format_find_projects_results(results)
          elif args.func.__name__ in ("org_find_members"):
              _format_find_org_members_results(results)
          elif args.func.__name__ in ("org_find_apps"):  # should have "find_apps" here one day
              _format_find_apps_results(results, verbose=args.verbose)
docs: Formats the output of ``dx find ...`` commands for `--json` and `--brief` arguments; also formats if no formatting
      arguments are given.
      Currently used for ``dx find projects``, ``dx find org_projects``, ``dx find org_apps``,
      and ``dx find org_members``