-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(engine): Refactor engine to support modular templates #254
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Steffen Exler <[email protected]>
Signed-off-by: Steffen Exler <[email protected]>
Signed-off-by: Steffen Exler <[email protected]>
Signed-off-by: Steffen Exler <[email protected]>
Nice one, I also drafted a new interface two days ago which is not fully implemented yet but I guess we have some nice approaches to discuss now 🕺🏻 |
Signed-off-by: Steffen Exler <[email protected]>
Awesome 🤩 |
Signed-off-by: Steffen Exler <[email protected]>
Signed-off-by: Steffen Exler <[email protected]>
Signed-off-by: Steffen Exler <[email protected]>
Maybe it's a good idea to split the view interface into a separate PR to make this easier to review? |
This PR introduces changes to the template engine to allow modular templates. A new module interface has been added, making it possible to create template modules in a separate git repository or folder, or even a custom binary. This allows users to create custom combinations of modules or add their own to the existing ones.
In addition, a new View interface has been added to allow for custom implementations. An example implementation has been included using the https://github.com/charmbracelet/bubbletea library.
Please note that this is a draft, and more changes will be required before this can be merged. Feedback and suggestions are welcome!