Open oubiwann opened 10 years ago
The command will look like this:
$ lfetool new plugin <name>
The "plugin" plugin will need to do the following:
~/.lfetool/plugins
~/.lfetool/plugins/<name>/lfetool-plugin-<name>.lfe
~/.lfetool/plugins/<name>/templates
~/.lfetool/plugins/<name>/templates/XSCRIPT.tmpl
It doesn't need to do anything fancy with templates -- just one will be fine. In fact, the "script" plugin's template would be suitable.
The plugin directory layout would look like this:
./plugins/plugin/lfetool-plugin-plugin.lfe ./plugins/plugin/templates/XSCRIPT.tmpl ./plugins/plugin/templates/lfetool-plugin-PROJECT.lfe.tmpl
I could do a draft of this now, but I want to wait until all the other plugins have been migrated to see if the plugin behaviour needs to be updated first.
The command will look like this:
The "plugin" plugin will need to do the following:
~/.lfetool/plugins
~/.lfetool/plugins/<name>/lfetool-plugin-<name>.lfe
~/.lfetool/plugins/<name>/templates
~/.lfetool/plugins/<name>/templates/XSCRIPT.tmpl
It doesn't need to do anything fancy with templates -- just one will be fine. In fact, the "script" plugin's template would be suitable.
The plugin directory layout would look like this: