-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Worknet plugins/extensions #7
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made a few comments with suggested changes
…put to a file - updated pluginHandler method to take TextWriter instead of IConsole so we don't have to depend on console
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ready to merge once null conditional operator use + expanded ConfigFile overload comment are addressed
- use writer?.WriteLine pattern to avoid the null check in PluginHandler class
@@ -162,6 +162,8 @@ Console.WriteLine(JsonConvert.SerializeObject(payload)); | |||
|
|||
### Extending NEO Worknet | |||
|
|||
Plugins/modules can be created to extend the functionality of Neo Worknet. [Neo Modules](https://github.com/neo-project/neo-modules/tree/master) contains a set of plugins that can be used with Neo. Many of these plugins can also be used with Neo Worknet. To use them, simply drop the dlls containing the plugins into the ~/.neo/plugins folder or /plugins folder in the worknet exe folder. Neo Worknet will automatically load and execute the plugins. | |||
Neo Worknet's capabilities can be extended through the use of plugins or modules. The [Neo Modules](https://github.com/neo-project/neo-modules/tree/master) package offers a variety of plugins compatible with both Neo and Neo Worknet. To utilize these plugins, simply copy the DLL files containing the plugins into either the ~/.neo/plugins directory or the /plugins directory located within the worknet executable folder. Upon initiation, Neo Worknet will automatically load and activate these plugins. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also mention the need to override ConfigFile
here in the readme?
|
No description provided.