| 46 | } |
| 47 | |
| 48 | const dynamicImport = async modulePath => { |
| 49 | const resolvedPath = resolveImportModulePath(modulePath) |
| 50 | const module = await import(resolvedPath) |
| 51 | return module.default || module |
| 52 | } |
| 53 | |
| 54 | const commandHandler = modulePath => |
| 55 | errorHandler(async (...args) => { |
no test coverage detected