MCPcopy Index your code
hub / github.com/Breakthrough/PySceneDetect / generate_title

Function generate_title

docs/generate_cli_docs.py:90–95  ·  view source on GitHub ↗
(s: str, level: int = 0, len: int = 72)

Source from the content-addressed store, hash-verified

88
89
90def generate_title(s: str, level: int = 0, len: int = 72) -> StrGenerator:
91 yield "\n"
92 if level == 0:
93 yield TITLE_LEVELS[level] * len + "\n"
94 yield s + "\n"
95 yield TITLE_LEVELS[level] * len + "\n\n"
96
97
98@dataclass

Callers 3

generate_command_helpFunction · 0.85
generate_subcommandsFunction · 0.85
create_helpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected