(self, arg:cmd2.Statement)
| 94 | |
| 95 | |
| 96 | def do_show(self, arg:cmd2.Statement): |
| 97 | if self._section is not None: |
| 98 | AnsiPrint.printSetting(self._section) |
| 99 | else: |
| 100 | #subsection = self._config[arg.arg_list[0]] if len(arg.arg_list)>0 else self._config |
| 101 | |
| 102 | for section in self._config: |
| 103 | AnsiPrint.print('') |
| 104 | AnsiPrint.print_info(section) |
| 105 | AnsiPrint.print('') |
| 106 | AnsiPrint.printSetting(section) |
| 107 | |
| 108 | AnsiPrint.print("\n") |
nothing calls this directly
no test coverage detected