adding some basic help, also as another example of using plugin hooks

This commit is contained in:
Jeff Lindsay committed 2013-06-30 15:51:41 -05:00
1 parent 997d2dd09c
commit 60f29cdb18
3 files changed
+22 -2

No files matched your search

+7
View File
@@ -8,5 +8,12 @@ set -e; case "$1" in
url)
echo "http://$(< "/home/git/$2/ADDRESS")"
;;
help)
cat && cat<<EOF
logs <app> Show the last logs for an application
url <app> Show the URL for an application
EOF
;;
esac