* Create a new Ace kernel instance * * @param app - The AdonisJS application instance
(public app: ApplicationService)
| 31 | * @param app - The AdonisJS application instance |
| 32 | */ |
| 33 | constructor(public app: ApplicationService) { |
| 34 | super(ListCommand, { |
| 35 | create: async (command, parsedOutput, $kernel) => { |
| 36 | return app.container.make(command, [app, $kernel, parsedOutput, $kernel.ui, $kernel.prompt]) |
| 37 | }, |
| 38 | |
| 39 | run: (command) => command.exec(), |
| 40 | }) |
| 41 | } |
| 42 | } |