How to run console commands from code like Artisan:call(...)?
@enniel do you ever solved it? Just including the command and running its handle method is limitating, 'cause you can't pass arguments. @thetutlage
馃憢
const ace = require('@adonisjs/ace')
await ace.call('migration:run')
Does it work only with "default" ace commands? It tells me that my command "is not a registered command", but from terminal it works.
I'm having the same problem with @danilopolani "is not registered command"
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
馃憢