Closed cerisara closed 5 years ago
The data are sent to the command's standard input.
Try replacing "echo $@" with "cat", or just try:
madonctl stream --notifications-only --notification-types mentions --command /bin/cat
This should work.
Works great, thanks a lot ! Really great cli api...
Hi, thanks for the great cli ! I tried: madonctl stream --notifications-only --notification-types mentions --command aa.sh and in aa.sh, I have:
!/bin/bash
echo $@
but no argument is printed when I receive a notification ?!
Thanks !