MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / plain_output

Function plain_output

tests/test_cli.py:23–25  ·  view source on GitHub ↗

Normalize Rich/Typer help output for CI assertions.

(value: str)

Source from the content-addressed store, hash-verified

21
22
23def plain_output(value: str) -> str:
24 """Normalize Rich/Typer help output for CI assertions."""
25 return ANSI_RE.sub("", value)
26
27
28@pytest.fixture(autouse=True)

Calls

no outgoing calls

Tested by

no test coverage detected