MCPcopy Create free account
hub / github.com/ParzivalHack/PySpector / _print_banner

Function _print_banner

src/pyspector/cli.py:124–134  ·  view source on GitHub ↗

Print the name banner, version, credits and the startup joke. Shown at the start of every scan. The verbose ``[*]`` progress lines that follow are gated by --debug.

()

Source from the content-addressed store, hash-verified

122 os.close(devnull_fd)
123
124
125def _get_version() -> str:
126 try:
127 return _pkg_version("pyspector")
128 except PackageNotFoundError:
129 return "unknown"
130
131
132def _print_banner() -> None:
133 """Print the name banner, version, credits and the startup joke.
134
135 Shown at the start of every scan. The verbose ``[*]`` progress lines that
136 follow are gated by --debug.
137 """

Callers 2

run_scan_commandFunction · 0.85
watch_commandFunction · 0.85

Calls 2

get_startup_noteFunction · 0.85
_get_versionFunction · 0.70

Tested by

no test coverage detected