dot-files/scripts/alias
Buddy Sandidge 4a47c0e8f4 Squashed 'gvm/' content from commit 23017d2c9
git-subtree-dir: gvm
git-subtree-split: 23017d2c98964d5178082340c69d63fd01512f5f
2014-08-05 21:18:26 -07:00

30 lines
523 B
Bash
Executable File

#!/usr/bin/env bash
. "$GVM_ROOT/scripts/functions"
command=$1
if [[ -f $GVM_ROOT/scripts/alias-$command ]]; then
shift
"$GVM_ROOT/scripts/alias-$command" "$@"
elif [[ -n $command ]]; then
display_fatal "Unrecognized command line argument: '$command'"
else
echo "= gvm alias
* http://github.com/moovweb/gvm
== DESCRIPTION:
GVM alias is used to manage go version aliases
== Usage
gvm alias Command
== Command
create - create a new alias
delete - delete an alias
list - list aliases"
fi