input: Write a function to implement a command-line application in Python that stores customer data and allows customers to query by customer name. The function should read command-line arguments for the customer name, search the customer data, and print the results if the name is found. If the name is not found or if the input is invalid, it should print an appropriate message. If the input is empty or invalid, print "Invalid arguments, please specify a customer name."
  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 print_customer_data("John Doe")==None
  assert print_customer_data("Jane Smith")==None
  assert print_customer_data("Non-existent Name")==None
  assert print_customer_data("")==None
output: def print_customer_data(name):
      customers = {"John Doe": "123 Main St, City, State", "Jane Smith": "456 Elm St, City, State"}
      if name in customers:
          print(customers[name])
      elif name == "":
          print("Invalid arguments, please specify a customer name.")
      else:
          print("Customer not found.")