-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Plugin system #706
Comments
Clap allows external commands by enabling Cargo too allows external subcommands so I looked at some of its code to see how it invokes the called function. Looks like it internally makes use of Maybe we can do this too, so a possible flow could look like -
Would love everyone's thoughts on this and any other ways we can implement plugins. |
I think another consideration for the plugin system is what kind of API we would expose, which requires us to think about some possible plugins that people would want to create. For example, I'd assume a lot of plugins would need access to things like the project config, artifacts and sources |
Hi @jrhe thanks for sharing your thoughts on plugins / extensions! I'm supportive of adding extensions to Foundry, tracking Would appreciate your latest thoughts on the topic in the Closing this ticket (as |
Component
Other (please describe)
Describe the feature you would like
A plugin system to add additional tasks to both forge and cast is desirable.
To illustrate, #610 suggests adding functionality to print the variable layout of a contract. This functionality is clearly useful, however:
Instead, a slither plugin could provide optional static analysis functionality from within foundry.
Additional context
No response
The text was updated successfully, but these errors were encountered: