sourcery

Meta-programming tool for Swift that generates boilerplate code automatically

brewmacoslinux
Try with needOr install directly
Source

About

Meta-programming for Swift, stop writing boilerplate code

Commands

sourcery

Examples

Generate code from Swift source files in a directory$ sourcery --sources ./Sources --templates ./Templates --output ./Generated
Run Sourcery with a configuration file$ sourcery --config .sourcery.yml
Watch for changes and regenerate code automatically$ sourcery --sources ./Sources --templates ./Templates --output ./Generated --watch