(parsed_commands)
| 128 | |
| 129 | |
| 130 | def export_commands(parsed_commands): |
| 131 | output = ['<div style="overflow-x: auto;"><table class="settingscommands">'] |
| 132 | output.append(" <tr><th>Command</th><th>Arguments</th><th>Description</th></tr>") |
| 133 | |
| 134 | for command in parsed_commands: |
| 135 | output.append(f" <tr><td>{html.escape(command['name'])}</td><td>{html.escape(command['arguments'])}</td><td>{html.escape(command['description'])}</td></tr>") |
| 136 | |
| 137 | output.append("</table></div>") |
| 138 | return "\n".join(output) |
| 139 | |
| 140 | |
| 141 | def export_settings(parsed_settings): |
no outgoing calls
no test coverage detected