code: def pytest_cmdline_main(
      config: Config,
  ) -> Optional[Union[int, ExitCode]]:
      if config.option.setuponly:
          config.option.setupshow = True
      return None
  
file_path: catboost/contrib/python/pytest/py3/_pytest/setuponly.py
imports: from typing import Generator
  from typing import Optional
  from typing import Union
  import pytest
  from _pytest._io.saferepr import saferepr
  from _pytest.config import Config
  from _pytest.config import ExitCode
  from _pytest.config.argparsing import Parser
  from _pytest.fixtures import FixtureDef
  from _pytest.fixtures import SubRequest
  from _pytest.scope import Scope
label_desc: Use image node_id 5 for calling a global function with example usage: pytest_cmdline_main(config) and returns: None