neutralinojs / neutralinojs-cli

neu cli for Neutralinojs
https://neutralino.js.org/docs/cli/neu-cli
MIT License
91 stars 57 forks source link

added local testing for plugins #197

Closed SalihuDickson closed 1 year ago

SalihuDickson commented 1 year ago

I added a feature to allow local testing during plugin development. All you have to do is add the "--test" option when adding a plugin, and the plugin must be written as the path of the plugin directory, it is advisable you use an absolute path, not a relative path.

Example: "neu plugins --add --test plugin path ".

You can also remove the plugin by adding the "--test" option when removing the plugin. The plugin can be written as either the it's path or just the plugin name

Example: "neu plugins --remove --test plugin path | plugin name ".