code: def get_help_string(class_obj):
      # return inspect.getdoc(class_obj.run)
      try:
          ia_module = importlib.import_module("dipy.workflows.base")
          parser = ia_module.IntrospectiveArgumentParser()
          parser.add_workflow(class_obj())
      except Exception as e:
          abort("Error on {0}: {1}".format(class_obj.__name__, e))
  
      return parser.format_help()
  
file_path: dipy/doc/tools/docgen_cmd.py
imports: import os
  from os.path import join
  from subprocess import Popen, PIPE, CalledProcessError
  import sys
  import importlib
  import inspect
  from packaging.version import Version
label_desc: Use image node_id 3 for calling a global function with example usage: get_help_string(class_obj) and returns: parser