foundry-rs / starknet-foundry

Blazing fast toolkit for developing Starknet contracts.
https://foundry-rs.github.io/starknet-foundry/
MIT License
307 stars 150 forks source link

Allow passing arguments to script's main function from cli #2153

Open THenry14 opened 4 months ago

THenry14 commented 4 months ago

Which component is your feature related to?

Cast

Feature Request

The idea is that main function could accept arguments, that will be taken from cli (eg passed to sncast script run <script> <args>). This way users would be able to have one versatile script that can be customized and used for multiple things.