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/CAAV1gMCCTJZSWSnvE68ZsZounwHoKFCgABam5SApPW3vDc2UuQ%40mail.gmail.com.

Reply via email to