MCPcopy
hub / github.com/usestrix/strix / create_live_status

Function create_live_status

strix/interface/cli.py:137–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135 set_global_report_state(report_state)
136
137 def create_live_status() -> Panel:
138 status_text = Text()
139 status_text.append("Penetration test in progress", style="bold #22c55e")
140 status_text.append("\n\n")
141
142 stats_text = build_live_stats_text(report_state)
143 if stats_text:
144 status_text.append(stats_text)
145
146 return Panel(
147 status_text,
148 title="[bold white]STRIX",
149 title_align="left",
150 border_style="#22c55e",
151 padding=(1, 2),
152 )
153
154 try:
155 console.print()

Callers 2

run_cliFunction · 0.85
update_statusFunction · 0.85

Calls 1

build_live_stats_textFunction · 0.85

Tested by

no test coverage detected