code: def proj_list(args):
      '''Retrieve the list of billing projects accessible to the caller/user, and
         show the level of access granted for each (e.g. Owner, User, ...)'''
      projects = fapi.list_billing_projects()
      fapi._check_response_code(projects, 200)
      projects = sorted(projects.json(), key=lambda d: d['projectName'])
      l = map(lambda p: '{0}\t{1}'.format(p['projectName'], p['role']), projects)
      # FIXME: add username col to output, for when iterating over multiple users
      return ["Project\tRole"] + f proj_list(args):
      '''Retrieve the list of billing projects accessible to the caller/user, and
         show the level of access granted for each (e.g. Owner, User, ...)'''
      projects = fapi.list_billing_projects()
      fapi._check_response_code(projects, 200)
      projects = sorted(projects.json(), key=lambda d: d['projectName'])
      l = map(lambda p: '{0}\t{1}'.format(p['projectName'], p['role']), projects)
      # FIXME: add username col to output, for when iterating over multiple users
      return ["Project\tRole"] + l
docs: Retrieve the list of billing projects accessible to the caller/user, and
         show the level of access granted for each (e.g. Owner, User, ...)