code: def list(save):
      "list all components"
      from fate.components.core import list_components
  
      if save:
          import json
  
          json.dump(list_components(), save)
      else:
          print(list_components())
  
label_desc: Use image node_id 1 for calling a global function with example usage: list(save) without return types