Git Product home page Git Product logo

goman's Introduction

goman

管理golang sdk的版本

install

curl -SsL https://raw.githubusercontent.com/cnk3x/goman/main/install.sh | bash

国内

curl -SsL https://gitee.com/k3x/goman/raw/main/install_gitee.sh | bash

usage

$ goman
管理golang sdk的版本

Usage:
    goman [Command] [Flags]:
    goman <version> [go command and flags]

Example:
    goman download 1.16.8
    goman use 1.16.8
    goman 1.16.8 version

Available Commands:
    list, ls          版本
    download, dl      下载
    upgrade, up       更新
    use, install, i   设置默认版本
    cleanup, rm       删除旧版,每个大版本仅保留最新的一个
    remove, rm        删除
$ goman list -h
列出版本号

Usage:
    goman list [Flags]:

Flags:
    -a    列出所有可安装的版本号
    -i    列出已安装的版本
    -c    当前使用版本
$ goman upgrade -h
更新当前使用的版本到最新版

Usage:
    goman upgrade [Flags]

Example:
    goman upgrade
    goman upgrade -c

Flags:
    -c    更新当前小版本到最新版
$ goman download -h
下载指定版本

Usage:
  goman download <version>

Example:
  goman download go1.17rc1
  goman download go1.16.6
$ goman use -h
设置默认版本

Usage:
  goman use <version>

Example:
  goman use 1.19
  goman use 1.18.5
  goman use 1.18
$ goman cleanup -h
清理版本 - 每一个大版本保留最新的一个版本

Usage:
    goman cleanup <version>

Example:
    goman cleanup
    goman cleanup 1.18
$ goman remove -h
删除版本

Usage:
  goman remove <version>

Example:
  goman remove 1.19
  goman remove 1.18.5
  goman remove 1.18

goman's People

Contributors

cnk3x avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.