(self)
| 8 | @with_default_category('Import Category') |
| 9 | class ImportCommand(CommandSet): |
| 10 | def __init__(self) -> None: |
| 11 | super().__init__() |
| 12 | self._core = DataImporter() |
| 13 | if hasattr(cmd2.Cmd,'do_set'): |
| 14 | delattr(cmd2.Cmd, 'do_set') |
| 15 | |
| 16 | if SqlMapSetting().file_input == '': |
| 17 | AnsiPrint.print_locale("import.input_required") |
| 18 | |
| 19 | |
| 20 | def do_run(self, arg): |
nothing calls this directly
no test coverage detected