mirror of
https://github.com/wahyd4/gvm.git
synced 2026-08-09 04:46:19 +10:00
30 lines
509 B
Bash
Executable File
30 lines
509 B
Bash
Executable File
#!/bin/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
|
|
|