input: Write a function that creates a command-line application in Python to store customer data and allows customers to query by customer name. The function should parse the command-line arguments, check for a valid customer name, and call a helper function to print the customer data.
  def create_customer_search_app():
      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 create_customer_search_app() is None
output: 
  def create_customer_search_app():
      import sys 
  
      def print_customer_data(name): 
          # Code for searching customer data by customer name and 
          # printing results 
          print(f"Customer data for {name}: ...")
  
      # 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.")
  