code: def help_for_command(command):
      """Get the help text (signature + docstring) for a command (function)."""
      help_text = pydoc.text.document(command)
      # remove backspaces
      return re.subn(".\\x08", "", help_text)[0]
  
file_path: sacred/sacred/commands.py
imports: import copy
  import pprint
  import pydoc
  import re
  from collections import namedtuple, OrderedDict
  from colorama import Fore, Style
  from sacred.config import save_config_file
  from sacred.serializer import flatten
  from sacred.utils import PATHCHANGE, iterate_flattened_separately
label_desc: Use image node_id 5 for calling a global function with example usage: help_for_command(command) and returns: re