go-man

module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: MIT

README

go-man

A manager for Go SDK installations.

Build Status PkgGoDev Coverage Go Report Card

Many other language have small helper tools that help to manage one or many installations of the SDK required to develop in that language. Popular examples are sdkman for Java, rvm for Ruby or nvm for Node.js. go-man aims to provide a similar feature for Go developers.

Usage

To get an overview on how to use gmn, run gmn -help or gmn <sub-command> -help. Currently, the following subcommands are implemented:

  • gmn cleanup Removes all Go installations, that are not considered stable.
  • gmn install [flags] [versions...] Installs one or more new Go releases
    • -arch value Processor architecture for that Go will be installed (defaults to your current arch)
    • -os value Operating system for that Go will be installed (defaults to your current OS)
    • -unstable Unlocks the installation of unstable Go versions
  • gmn list [flags] Lists of all available Go releases
    • -unstable Unlocks the listing of unstable Go versions
  • gmn select [version] Selects the default Go installation
  • gmn uninstall [flags] [versions...] Uninstall an existing Go installation
    • -all If set, all installations of Go will be uninstalled
  • gmn unselect Unselects the default Go installation

Directories

Path Synopsis
cmd
gmn
internal
pkg
manager
Package manager contains the manager struct that handles to life-cycle of Go SDK installations.
Package manager contains the manager struct that handles to life-cycle of Go SDK installations.
releases
Package releases contains code that is related to Go SDK release detection and handling.
Package releases contains code that is related to Go SDK release detection and handling.
tasks
Package tasks contains an abstraction of tasks and their state.
Package tasks contains an abstraction of tasks and their state.

Jump to

Keyboard shortcuts

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