| 52 | } |
| 53 | |
| 54 | const commandHandler = modulePath => |
| 55 | errorHandler(async (...args) => { |
| 56 | const handler = await dynamicImport(modulePath) |
| 57 | return handler(...args) |
| 58 | }) |
| 59 | |
| 60 | const commandHandlerWithProperty = (modulePath, property) => |
| 61 | errorHandler(async (...args) => { |
no test coverage detected