experimenting with api#100
Conversation
|
this looks really interesting - i now fully understand the idea of plugins and REALLY like it, totally makes sense. one thing i'm starting to think about -- maybe we just execute the function the user gives us as-is without saying so for example in the given scenario, we leave it completely for the user to decide how to use and we don't care what This effectively cuts down lines of code completely in the plugin infrastructure -- which I feel is a good signal too, as well as opens up the ability for people to decide creatively: shell? javascript? maybe I run python?. any thoughts? |
|
The 2 challenges with bring-your-own that I can see are
1 is not a show stopper, but we'd need to make sure it was easy for them to do. I don't have a good answer for 2. edit: clarity |
|
Now that I've written a bunch of templates, I have a better idea what I want. And for me plugins aren't it. I can see 3 use cases for plugins.
I'm addressing these from the context of 'fat index.js, thin template.t' Case 1 can be addressed within the generators index.js, and requires no changes to do so. Case 2 could be done with the current setup, but with a Case 3 can mostly be addressed by templates and |
|
published #119 to replace this. |
Some ideas around #94