I realise this is an old topic, but here is a solution for anyone who finds 
this topic. Use this command for a tid-formatted plugin file:

tiddlywiki --import /path/to/plugin/file application/x-tiddler --savewikifolder 
/path/to/output/folder

or this command for a json-formatted plugin file:

tiddlywiki --import /path/to/plugin/file application/json --savewikifolder /
path/to/output/folder

Note that the --savewikifolder command requires the output folder to be 
empty.

The plugin files, including plugin.info, will be in a subdirectory of the 
output folder called plugins/PluginName.

Regards,
David.

On Saturday, 19 May 2018 05:29:18 UTC+9:30, Matthew Lauber wrote:
>
> Anyone know of a way to use node to automatically export a plugin from a 
> tiddlywiki file into a plugin folder?  I've been banging my head against 
> the wall here, trying to get the plugin.info file to render.  I've got 
> the following so far.
> "--load", "../example.html",
> "--unpackplugin", "$:/plugins/NameOfPlugin",
> "--render", "[[$:/plugins/NameOfPlugin]plugintiddlers[]]", 
> "[encodeuricomponent[]addprefix[tiddlers/]]", "", 
> "$:/core/templates/tid-tiddler",
>
> That renders the tiddlers in the plugin into individual files in the 
> folder, as desired.  But I can't make the plugin.info file work.
>
>
> Thanks,
> Matt
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a53daa39-0660-4463-bf4f-2ee4fcf193fe%40googlegroups.com.

Reply via email to