code: def cpu_info_command():
      if platform.system() == "Linux":
          return "lscpu"
      elif platform.system() == "Darwin":
          return "sysctl -a | grep machdep.cpu"
      else:
          raise NotImplementedError("OS not supported.")
  
imports: import platform
  from dataclasses import field
  from enum import Enum
  from typing import Dict, List, Optional, Union
  from .None import is_pydantic_available
  from .doc import generate_doc_dataclass
label_desc: Use image node_id 1 for calling a global function with example usage: cpu_info_command() and returns: str, str