Commit 9889084d authored by Vitaly Lipatov's avatar Vitaly Lipatov

gitask: add show support

parent 9b067e18
......@@ -11,11 +11,25 @@ set_girar_host $1 && shift
if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
echo "gitask ssh gear.alt task wrapper"
echo "Use: gitask"
echo "Use: gitask [task|show]"
echo " --help - help"
docmd ssh $GEARHOST task help
exit 0
fi
# TODO: acl
if [ "$1" = "show" ] ; then
shift
showcmd "$GEARHOST>" girar-show "$@"
GIT_ALT=$GEARHOST girar-show "$@"
exit
fi
if [ "$1" = "task" ] ; then
# by default
shift
fi
docmd ssh $GEARHOST task "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment