code: def list(cfg: CLIContext) -> None:  # noqa: D
      """Retrieve metadata values about metrics/dimensions/entities/dimension values."""
  
imports: from __future__ import annotations
  import datetime
  import logging
  import pathlib
  import signal
  import sys
  import tempfile
  import textwrap
  import time
  import warnings
  from importlib.metadata import version
  from typing import Callable, List, Optional, Sequence
  import click
  import jinja2
  import pandas
  from dbt_semantic_interfaces.protocols.semantic_manifest import SemanticManifest
  from dbt_semantic_interfaces.validations.semantic_manifest_validator import SemanticManifestValidator
  from dbt_semantic_interfaces.validations.validator_helpers import SemanticManifestValidationResults
  from halo import Halo
  from packaging.version import parse
  from update_checker import UpdateChecker
  import metricflow.cli.custom_click_types
  from metricflow.cli import PACKAGE_NAME
  from metricflow.cli.cli_context import CLIContext
  from metricflow.cli.constants import DEFAULT_RESULT_DECIMAL_PLACES, MAX_LIST_OBJECT_ELEMENTS
  from metricflow.cli.dbt_connectors.dbt_config_accessor import dbtArtifacts
  from metricflow.cli.tutorial import dbtMetricFlowTutorialHelper
  from metricflow.cli.utils import dbt_project_file_exists, error_if_not_in_dbt_project, exception_handler, query_options, start_end_time_options
  from metricflow.dag.dag_visualization import display_dag_as_svg
  from metricflow.dataflow.dataflow_plan_to_text import dataflow_plan_as_text
  from metricflow.engine.metricflow_engine import MetricFlowExplainResult, MetricFlowQueryRequest, MetricFlowQueryResult
  from metricflow.model.data_warehouse_model_validator import DataWarehouseModelValidator
  from metricflow.telemetry.models import TelemetryLevel
  from metricflow.telemetry.reporter import TelemetryReporter, log_call
label_desc: Use image node_id 4 for calling a global function with example usage: list(cfg) without return types