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 take a customer name as an input argument and print the corresponding customer data if found. If the command line input is invalid or no arguments are provided, the function should print a message indicating that the input is invalid.
  
  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 len(sys.argv) == 2
output: def print_customer_data(name): 
      customers = {
          "Alice": "Data for Alice",
          "Bob": "Data for Bob",
          "Charlie": "Data for Charlie"
      }
      if name in customers:
          print(customers[name])
      else:
          print(f"No data found for customer: {name}")