#!/bin/bash if [[ $1 == "pkgset" ]]; 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 pkgset * http://github.com/moovweb/gvm == DESCRIPTION: GVM pkgset is used to manage various Go packages == Usage gvm pkgset Command == Command create - create a new package set delete - delete a package set use - select where gb and goinstall target and link empty - remove all code and compiled binaries from package set list - list installed go packages" fi else echo "Please use gvm [action] to call this file" exit 1 fi