gbvm

command module
v0.0.0-...-a54a7c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2025 License: MIT Imports: 13 Imported by: 0

README

gbvm

A command line tool to manage Go binaries installed in your GOPATH/bin directory. It helps you list installed binaries, check their versions, and upgrade them to the latest available versions.

Installation

go install github.com/TBXark/gbvm@latest

Usage

Usage: gbvm list [options]

List all installed Go binaries

  -help
        show help
  -json
        json mode
  -versions
        show version
Usage: gbvm install [options] <backup file>

Install Go binaries from backup file

  -help
        show help
Usage: gbvm upgrade [options] [bin1 bin2 ...]

Upgrade Go binaries

  -help
        show help
  -skip-dev
        skip dev version
Install Command

Installs binaries from a backup JSON file.

# Install binaries from backup
gbvm install backup.json

# List all installed binaries with their versions
gbvm list -versions

# List binaries in JSON format
gbvm list -json

# Upgrade a specific binary
gbvm upgrade bin1 bin2

# Upgrade all binaries except development versions
gbvm upgrade

License

gbvm is released under the MIT license. See LICENSE for details.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL