code: def _parse_args():
      parser = argparse.ArgumentParser(
          description=__doc__,
          formatter_class=argparse.RawTextHelpFormatter,
      )
      parser.add_argument(
          "input_dir",
          type=Path,
          help="Directory where `*.trans.txt` files are searched.",
      )
      return parser.parse_args()
  
imports: import argparse
  import os
  from pathlib import Path
label_desc: Use image node_id 1 for calling a global function with example usage: _parse_args() and returns: parser