Skip to content

Commit

Permalink
[ux api] Basic help
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecki committed Feb 11, 2012
1 parent 71daccb commit 8268c20
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions give.sh
Expand Up @@ -16,3 +16,23 @@ function give_update {
function give_checkout { function give_checkout {
cd "$give_dir/src" && git archive --prefix "$1/" --remote node "$1" | tar -xf - cd "$give_dir/src" && git archive --prefix "$1/" --remote node "$1" | tar -xf -
} }

function give_help {
echo
echo "give - git-based node.js version manager"
echo
echo "Usage:"
echo " give help You're staring at it"
echo
}

if [ $# -lt 1 ]; then
give_help
exit
fi

case $1 in
"help")
give_help
;;
esac

0 comments on commit 8268c20

Please sign in to comment.