(self, edit, tool)
| 456 | # highlight httpx nulcie result |
| 457 | class HighlightHttpxNucleiCommand(sublime_plugin.TextCommand): |
| 458 | def run(self, edit, tool): |
| 459 | text = get_buffer_text(self.view) |
| 460 | |
| 461 | if tool == 'httpx': |
| 462 | text = format_httpx_result(text) |
| 463 | if tool == 'nuclei': |
| 464 | text = format_nuclei_result(text) |
| 465 | if tool == 'text': |
| 466 | self.view.assign_syntax(SYNTAX_FILE) |
| 467 | return None |
| 468 | |
| 469 | if text == '': |
| 470 | return None |
| 471 | |
| 472 | update_file(self.view, edit, text) |
| 473 | self.view.assign_syntax(SYNTAX_FILE) |
| 474 | |
| 475 | |
| 476 |
nothing calls this directly
no test coverage detected