MCPcopy Create free account
hub / github.com/Breakthrough/PySceneDetect / add_link

Function add_link

docs/generate_cli_docs.py:83–84  ·  view source on GitHub ↗
(_match: re.Match, command: str = command)

Source from the content-addressed store, hash-verified

81 for command in [command for command in commands if command not in INFO_COMMANDS]:
82
83 def add_link(_match: re.Match, command: str = command) -> str:
84 return f":ref:`{command} <command-{command}>`"
85
86 s = re.sub(f"``{command}``(?!\\n)", add_link, s)
87 return s

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected