:)

Coincidentally, I discovered the environment variables just yesterday. I 
could have saved my effort yesterday and learned it for free by reading 
your post today (if I could see the future)!

On Thursday, December 10, 2020 at 9:00:44 AM UTC-5 Mohammad wrote:

> Please ignore my previous post.
>
> I realized I have not included the plugin with custom command to my 
> tiddlywiki.info file.
> I think this is a sign of Alzheimer ;-)
>
> --Mohammad
>
> On Thursday, December 10, 2020 at 5:09:19 PM UTC+3:30 Mohammad wrote:
>
>> I have a node.js plugin containing few JS tiddlers with 
>> module-type:command. That means my plugin has extended TW commands. I call 
>> them custom commands.
>>
>> Now, I use the below environmental variable under Windows 10 to store all 
>> of my third party plugins.
>>
>>    - TIDDLYWIKI_PLUGIN_PATH - Search path for ordinary plugins
>>
>> Then I use the below command at shell for some development purpose.
>>
>>     tiddlywiki editions/release --verbose --build release
>>
>> with below tiddlywiki.info
>>
>> {
>>   "includeWikis": [
>>     "../../src"
>>   ],
>>   "config": {
>>     "disable-hfs": "yes"
>>   },
>>   "plugins": [
>>     "tiddlywiki/codemirror",
>>     "tiddlywiki/highlight",
>>     "tiddlywiki/katex",
>>     "kookma/shiraz",
>>     "kookma/utility"
>>   ],
>>   "build": {
>>     "release": [
>>       "--releaseplugins",
>>       "--releasedemowiki"
>>     ]
>>   },
>>   "themes": [
>>     "tiddlywiki/vanilla",
>>     "tiddlywiki/snowwhite"
>>   ]
>> }
>>
>>
>> Tiddlywiki complains as: Error: Unknown command: releaseplugins
>>
>> Strangely if I use the plugin as a packaged one (plugin.tid) NOT as a 
>> Node.js plugin folder, Tiddlywiki is happy and runs my custom commands
>>
>> Would you please advise me if there is any limitation using custom 
>> commands? Why packaged plugin works but plugin folder not work.
>>
>>
>>
>> Best wishes
>> Mohammad
>>
>

-- 
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/733ae654-5b71-48bc-aa43-e2b3ff45c6a9n%40googlegroups.com.

Reply via email to