Major Refactoring
⭐️ GitHub Repositories
flow-generate
now supports GitHub repositories. Grab a url from your browser, which points to your repo, branch and/or folder - for, example here's one for Flow core-contracts - pass it as first argument in CLI call (or specify -i
/ --input
flag) and press enter!
flow-generate https://github.com/onflow/flow-core-contracts/tree/master/contracts ./src/generated
⭐️ Contract Templates Support
This version will also properly treat contract templates, creating deploy methods for you and properly exporting them.
⭐️ No Testing Dependency
We've cleaned up the code and removed dependency on flow-js-testing
, making it's easier to maintain and import into your projects.