-
Notifications
You must be signed in to change notification settings - Fork 65
Pluggable CLI #121
New issue
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
Comments
|
|
Significant progress made. API aspect remains to be done. But dynamic plugin loading based on package name pattern is now done. |
Currently CLI cannot be plugged into. Prisma is an internal plugin, except for the CLI aspect which cheats, importing prisma logic.
A challenge will be the schism between cli and app. A CLI does not obviously know about this in code:
possible solution areas
use
statements to know which plugins to activate in the clipumpkins-plugin-*
package.Also think about where the config can live, e.g.:
Does the user configure the plugin cli behaviour here? That would mean, again, code reflection.
The text was updated successfully, but these errors were encountered: