input: Write a function to create a command-line application in Python that stores customer data and allows customers to query by customer name. The function should accept a list of command-line arguments, and if provided with a single argument (the customer name), it should search the customer data and print the results. If no arguments or more than one argument is provided, the function should print an error message indicating that a customer name must be specified. If multiple customers with the same name exist, all matching records should be displayed.
  
  
  import sys 
  
  def print_customer_data(name): 
      # Code for searching customer data by customer name and 
      # printing results 
      ...
  
  # Main function for the customer search application
  if __name__=="__main__": 
      # Get command line arguments 
      args = sys.argv 
      
      if len(args) == 2: 
          name = args[1]
          print_customer_data(name) 
      else: 
          print("Invalid arguments, please specify a customer name.")
  
  
  assert main(["main.py", "Alice"])==None # Assume "Alice" is in the data
  assert main(["main.py"])==None # Prints "Invalid arguments, please specify a customer name."
  assert main(["main.py", "Bob", "Extra"])==None # Prints "Invalid arguments, please specify a customer name."
output: def print_customer_data(name): 
      customer_data = [
          {"name": "Alice", "age": 30, "city": "New York"},
          {"name": "Bob", "age": 25, "city": "Los Angeles"},
          {"name": "Alice", "age": 28, "city": "Chicago"}
      ]
      
      results = [customer for customer in customer_data if customer["name"] == name]
      
      if results:
          for result in results:
              print(f"Name: {result['name']}, Age: {result['age']}, City: {result['city']}")
      else:
          print(f"No customer found with the name {name}.")