This repo is obsolete, please see this issue
This is a sample plugin for Gilbert task runner that prints a message to log
A simple action that prints text to the console
plugins:
- github://github.com/go-gilbert/gilbert-plugin-example
tasks:
hello-world:
- action: 'example-plugin:hello-world'
params:
message: 'hello world'
message
- a message to print
Each plugin should follow these simple rules:
-
Should use compatible Go version (currently: Go 1.12.x)
-
Should use go modules to avoid package scopes issue during library load process (see issue)
-
Should use the same SDK version as target Gilbert version
Each plugin should exports two procedures:
Returns plugin name
Returns a set of plugin actions exported by plugin