Introduce URL for app. Plugins can override this.

fixes #242
This commit is contained in:
Alexander
2013-10-24 13:43:11 +02:00
parent c0a2683744
commit 85f14baad5
4 changed files with 18 additions and 18 deletions

View File

@@ -1,18 +1,2 @@
#!/bin/bash
set -e; case "$1" in
url)
if [[ -f "/home/git/$2/VHOST" ]]; then
echo "http://$(< "/home/git/$2/VHOST")"
else
cat
fi
;;
help) cat && cat<<EOF
url <app> Show the URL for an application
EOF
;;
esac
cat