code: def list_(profile="splunk"):
      '''
      List splunk searches (names only)
  
      CLI Example:
          splunk_search.list
      '''
      client = _get_splunk(profile)
      searches = [x['name'] for x in client.saved_searches]
      return searchef list_(profile="splunk"):
      '''
      List splunk searches (names only)
  
      CLI Example:
          splunk_search.list
      '''
      client = _get_splunk(profile)
      searches = [x['name'] for x in client.saved_searches]
      return searches
docs: List splunk searches (names only)
  
      CLI Example:
          splunk_search.list