code: def get_parser():
      parser = argparse.ArgumentParser(
          description="convert scp to json",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
      )
      parser.add_argument("--key", "-k", type=str, help="key")
      return parser
  
imports: import argparse
  import codecs
  import json
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: get_parser() and returns: parser