MCPcopy Index your code
hub / github.com/OpenOSINT/OpenOSINT / _handle_github

Function _handle_github

openosint/cli.py:537–547  ·  view source on GitHub ↗
(
    query: str,
    timeout: int,
    json_output: bool = False,
)

Source from the content-addressed store, hash-verified

535
536
537async def _handle_github(
538 query: str,
539 timeout: int,
540 json_output: bool = False,
541) -> None:
542 print(f"[*] GitHub lookup: {query}", file=sys.stderr)
543 result = await run_github_osint(query=query, timeout_seconds=timeout)
544 if json_output:
545 _emit_json(format_tool_result("search_github", query, result))
546 else:
547 _print_result(result)
548
549
550async def _handle_dns(

Callers 1

_async_mainFunction · 0.85

Calls 4

run_github_osintFunction · 0.90
format_tool_resultFunction · 0.90
_emit_jsonFunction · 0.85
_print_resultFunction · 0.70

Tested by

no test coverage detected