code: func functionCompleter(substring string) string {
  	found := ""
  	for _, fName := range profileFunctionNames {
  		if strings.Contains(fName, substring) {
  			if found != "" {
  				return substring
  			}
  			found = fName
  		}
  	}
  	if found != "" {
  		return found
  	}
  	return substring
  }
docs: // functionCompleter replaces provided substring with a function
  // name retrieved from a profile if a single match exists. Otherwise,
  // it returns unchanged substring. It defaults to no-op if the profile
  // is not specified.