mirror of
https://github.com/wahyd4/gvm.git
synced 2026-08-09 21:05:52 +10:00
31 lines
573 B
Bash
Executable File
31 lines
573 B
Bash
Executable File
#!/bin/bash
|
|
if [[ $1 == "pkg" ]]; then
|
|
if [ -f $GVM_ROOT/bin/gvm-$1-$2 ]; then
|
|
$GVM_ROOT/bin/gvm-$1-$2 $@
|
|
elif [[ -n $2 ]]; then
|
|
echo "ERROR: Unrecognized command line argument: '$2'"
|
|
else
|
|
echo "= gvm pkg
|
|
|
|
* http://github.com/moovweb/gvm
|
|
|
|
== DESCRIPTION:
|
|
|
|
GVM Package is used to manage various Go packages
|
|
|
|
== Usage
|
|
|
|
gvm pkg Command
|
|
|
|
== Command
|
|
|
|
install - install go packages
|
|
uninstall - uninstall go packages
|
|
list - list installed go packages"
|
|
fi
|
|
else
|
|
echo "Please use gvm [action] to call this file"
|
|
exit 1
|
|
fi
|
|
|