Permalink
Browse files

[ux api] Basic help

  • Loading branch information...
1 parent 71daccb commit 8268c2066e97bf060b39f01a8664a426797c33e9 @mmalecki committed Feb 11, 2012
Showing with 20 additions and 0 deletions.
  1. +20 −0 give.sh
View
@@ -16,3 +16,23 @@ function give_update {
function give_checkout {
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.