Added stub install command

This commit is contained in:
Joshua Bussdieker
2011-11-17 23:05:40 -08:00
parent d65cb6b826
commit dc5563dc15
2 changed files with 19 additions and 1 deletions
+4 -1
View File
@@ -2,11 +2,14 @@ if [[ $1 == "version" ]]; then
echo "Go Version Manager v$GVM_VERSION"
elif [[ $1 == "implode" ]]; then
rm -rf ~/.gvm
elif [[ $1 == "install" ]]; then
~/.gvm/bin/gvm-install $@
else
echo "== Usage
gvm Action
== Action
version - print the gvm version number
implode - completely remove gvm"
implode - completely remove gvm
install - install go versions"
fi
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
if [[ $1 == "install" ]]; then
if [[ -n $2 ]]; then
echo "Installing version $2"
exit 0
else
echo "ERROR: Please specifiy the version"
exit 1
fi
else
echo "Please use gvm [action] to call this file"
exit 1
fi