bryanoltman / stager

Apache License 2.0
21 stars 5 forks source link

Add stager_main function to wrap main boilerplate #7

Closed bryanoltman closed 2 years ago

bryanoltman commented 2 years ago

The main() function generated by build_runner contains a lot of code that will not vary from app to app. Creating a stager_main function that accepts a list of Scenes may completely obviate the need for any codegen, which would likely be a win in terms of ergonomics.