``show_plain_text_report`` displays contents to the user in the UI or on the command-line .. note:: This API functions differently on the command-line vs the UI. In the UI, a pop-up is used. On the command-line, \ a simple text prompt is used. :param str title: Title to display in the tab :p
(title, contents)
| 1056 | |
| 1057 | |
| 1058 | def show_plain_text_report(title, contents): |
| 1059 | """ |
| 1060 | ``show_plain_text_report`` displays contents to the user in the UI or on the command-line |
| 1061 | |
| 1062 | .. note:: This API functions differently on the command-line vs the UI. In the UI, a pop-up is used. On the command-line, \ |
| 1063 | a simple text prompt is used. |
| 1064 | |
| 1065 | :param str title: Title to display in the tab |
| 1066 | :param str contents: Plaintext contents to display |
| 1067 | :rtype: None |
| 1068 | :Example: |
| 1069 | >>> show_plain_text_report("title", "contents") |
| 1070 | contents |
| 1071 | """ |
| 1072 | core.BNShowPlainTextReport(None, title, contents) |
| 1073 | |
| 1074 | |
| 1075 | def show_markdown_report(title, contents, plaintext=""): |