stormbot/modules/help/help.sh

5 lines
197 B
Bash
Raw Normal View History

2016-09-03 23:25:14 -04:00
[ -f functions.sh ] && source functions.sh
output="$1: The modules I have are:"
2016-09-04 17:22:05 -04:00
output="$output $(find modules/ -type d | sort -d | tr '[:space:]' ' ' | sed -e 's#modules/##g')"
2016-09-03 23:25:14 -04:00
msg "$2" "$output"