(
query: str,
timeout: int,
json_output: bool = False,
)
| 535 | |
| 536 | |
| 537 | async 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 | |
| 550 | async def _handle_dns( |
no test coverage detected