foundry
foundry copied to clipboard
feat(`forge init`): add `--vyper` flag to initialize a basic `Vyper` project mirroring `Counter`
Component
Forge
Describe the feature you would like
Now that we have Vyper support it would be great to be able to quickly instantiate a Vyper project. This would help with setting up quick reproductions as well as lowering the barrier to entry for users to get started with Vyper in Foundry.
In the future other flags could be added to extend this behavior (--yul, etc..)
Additional context
There is currently a --template parameter to pass in a template repository but we do not maintain one
Related: https://github.com/Patronum-Labs/foundry-vyper
I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
How I plan on tackling this issue
Could I take a shot at this?
I'd love to give this a go.
I have started working on this. So far, what I understand is that generally, if a user wants to initialize a Vyper template, they would run forge init --template https://github.com/Patronum-Labs/foundry-vyper. We need to modify this by adding a native flag (forge init --vyper), which will essentially function as forge init --template https://github.com/Patronum-Labs/foundry-vyper under the hood.
Please let me know if I miss something.