code: def get_args():
      parser = argparse.ArgumentParser(
          description="""This script process xml file."""
      )
      parser.add_argument("xml", type=str, help="""Input xml file""")
      parser.add_argument(
          "output", type=str, help="""output text file"""
      )
      args = parser.parse_args()
      return args
  
imports: import argparse
  import sys
  from bs4 import BeautifulSoup
label_desc: Use image node_id 1 for calling a global function with example usage: get_args() and returns: args