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 main should handle command-line arguments and invoke a function print_customer_data to search and print customer data by name. If the wrong number of arguments is provided, 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(["script_name", "Alice"]) is None
  assert print_customer_data("Alice") == None
  assert main(["script_name"]) == "Invalid arguments, please specify a customer name."
  assert print_customer_data("Bob") == None
output: def main(args):
      if len(args) == 2:
          name = args[1]
          print_customer_data(name)
      else:
          print("Invalid arguments, please specify a customer name.")