We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ace.hasCommand
@adonisjs/ace@13.0.0
There is a description in docs and a snippet code:
You may use the ace.hasCommand method to check if a command exists before executing it.
import ace from '@adonisjs/core/services/ace' /** * Boot method will load commands (if not already loaded) */ await ace.boot() if (ace.hasCommand('make:controller')) { await ace.exec('make:controller', [ 'user', '--resource', ]) }
But method hasCommand is not exists in ace actually.
hasCommand
No response
The text was updated successfully, but these errors were encountered:
thetutlage
No branches or pull requests
Package version
@adonisjs/ace@13.0.0
Describe the bug
There is a description in docs and a snippet code:
But method
hasCommand
is not exists in ace actually.Reproduction repo
No response
The text was updated successfully, but these errors were encountered: