Extension plugin for yabs.
This simple example serves primarily as demo for the yabs's plugin architecture.
Let's assume we need a new task cowsay
that is used like so:
...
- task: cowsay
width: 40
message: |
Dear fellow cattle,
We just released version {version}.
(This message was brought to you by the 'yabs-cowsay' extension.)
...
and produces this output:
_________________________________________
/ Dear fellow cattle, \
| We just released version 0.0.19-a2. |
| (This message was brought to you by the |
\ 'yabs-cowsay' extension.) /
-----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
This plugin also adds a --no-cowsay
option to the CLI.
Read the docs for details.