input: Write a function to create a command-line application in Python that stores customer data and allows customers to query by customer name, displaying the results. The function should be named `print_customer_data` and should take a customer name as an argument. If the command-line arguments are invalid, it 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 print_customer_data("Alice") == print_customer_data_implementation_result  # assuming "Alice" is a valid customer name
  assert print_customer_data("Bob") == print_customer_data_implementation_result  # assuming "Bob" is a valid customer name
  assert print_customer_data("Charlie") == print_customer_data_implementation_result  # assuming "Charlie" is a valid customer name
  assert print_customer_data("InvalidCustomerName") == "Invalid customer name or no data found."  # assuming "InvalidCustomerName" is not a valid customer name
  assert print_customer_data("") == "Invalid arguments, please specify a customer name."  # assuming no valid customer name is provided
  
output: def print_customer_data(name):
      customers = {
          "Alice": "Customer data for Alice",
          "Bob": "Customer data for Bob",
          "Charlie": "Customer data for Charlie"
      }
      if name in customers:
          print(customers[name])
      else:
          print("Invalid customer name or no data found.")