input: Write a function to create a command-line application in Python that stores customer data and allows the user to query by customer name. The function should include a main function to handle command-line inputs and a function to print customer data based on the provided name. If the provided arguments are invalid, the function should print an error message.
  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", "John Doe"]) == None
  assert main(["main.py"]) == None
output: def print_customer_data(name): 
      customers = {"John Doe": "123 Main St, City, Country", "Jane Smith": "456 Elm St, Town, Country"}
      if name in customers:
          print(customers[name])
      else:
          print(f"Customer '{name}' not found.")
  
  if __name__=="__main__": 
      args = sys.argv 
      if len(args) == 2: 
          name = args[1]
          print_customer_data(name) 
      else: 
          print("Invalid arguments, please specify a customer name.")