mirror of
https://github.com/wahyd4/gvm.git
synced 2026-08-10 05:16:13 +10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
36f89d570e |
@@ -32,12 +32,20 @@ else
|
||||
elif [[ -n $command ]]; then
|
||||
display_error "Unrecognized command line argument: '$command'"
|
||||
else
|
||||
echo "Usage: gvm [command]
|
||||
echo "= gvm
|
||||
|
||||
Description:
|
||||
GVM is the Go Version Manager
|
||||
* http://github.com/moovweb/gvm
|
||||
|
||||
== DESCRIPTION:
|
||||
|
||||
GVM is the Go Version Manager
|
||||
|
||||
== Usage
|
||||
|
||||
gvm Command
|
||||
|
||||
== Command
|
||||
|
||||
Commands:
|
||||
version - print the gvm version number
|
||||
get - gets the latest code (for debugging)
|
||||
use - select a go version to use
|
||||
@@ -47,7 +55,6 @@ Commands:
|
||||
uninstall - uninstall go versions
|
||||
list - list installed go versions
|
||||
listall - list available versions
|
||||
pkgset - manage go packages sets
|
||||
"
|
||||
pkgset - manage go packages sets"
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
git://github.com/moovweb
|
||||
Vendored
-1
@@ -24,7 +24,6 @@ function gvm_pkgset_use() {
|
||||
fuzzy_match=`ls $GVM_ROOT/environments | sort | grep "$gvm_go_name@" | grep "$1" | head -n 1` ||
|
||||
display_error "Invalid package set" || return 1
|
||||
|
||||
export PATH=$GVM_PATH_BACKUP
|
||||
. "$GVM_ROOT/environments/$fuzzy_match" ||
|
||||
display_error "Failed to source the package set environment" || return 1
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
. $GVM_ROOT/scripts/functions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user