code: def from_json_arg(cls):
      assert len(sys.argv) == 2
      return cls.from_json_path(sys.argv[1])
  
imports: import argparse
  import attr
  import copy
  import inspect
  import json
  import shlex
  import sys
  import pathlib
  from typing import Any, Tuple
  from jiant.utils.python.io import read_json
  from jiant.utils.python.datastructures import combine_dicts
label_desc: Use image node_id 8 for calling a global function with example usage: from_json_arg(cls) and returns: cls