GoModules / PluginSystem /
root authored on 25 Jun 2022
..
plugins simple plugin system added 2 years ago
README.md simple plugin system added 2 years ago
main.go simple plugin system added 2 years ago
README.md

Plugin Example

A simple plugin system so people can create simple plugin.go files to drop in a specific folder and they will be recognized and added to the app for use within the app.

example use:

$> ./Vic4
result of !help:
cmd:!help, name:Help
about:Display all plugins informaion

cmd:!add, name:Example Addition
about:Example plugin to add two numbers together

cmd:!echo, name:Example Echo
about:Example plugin to repeat what is sent to it

result of !echo: returning: this argument returned
result of !add (1+2): 3

Thanks

A MASSIVE thanks to @MantisSTS for writing the majority of this!