code: def info_command_factory(_):
      return EnvironmentCommand()
  
file_path: diffusers/src/diffusers/commands/env.py
imports: import platform
  from argparse import ArgumentParser
  import huggingface_hub
  from ..None import __version__
  from ..utils import is_accelerate_available, is_torch_available, is_transformers_available, is_xformers_available
  from .None import BaseDiffusersCLICommand
label_desc: Use image node_id 1 for calling a global function with example usage: info_command_factory(_) and returns: EnvironmentCommand