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

This commit is contained in:
Jeff Lindsay
2013-06-30 15:51:41 -05:00
parent 997d2dd09c
commit 60f29cdb18
3 changed files with 22 additions and 2 deletions

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

View File

@@ -8,5 +8,8 @@ set -e; case "$1" in
cat
fi
;;
help) cat
;;
esac