gmx

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 1 Imported by: 0

README

GMX

gmx is an extension for golang module management which can enable you to maintain a local collection of go modules in common use. It provides a set of interactive commands for an easy management of the local collection of golang modules. All the info of golang modules you collect will be stored in a file named .gmx.yaml in your home directory.

Installation

Download and install the package with the following command:

$ go get github.com/utilbox/gmx

This will create the gmx executable under your $GOPATH/bin directory. You can move it to a permanent directory under $PATH so that you can use it without caring what the $GOPATH would be changed to.

You can also download the gost executable directly from the release page:

https://github.com/utilbox/gmx/releases

Get started

All the commands provided by gmx are interactive. You can easily get to know about what to do next following the prompts. Basically, when you want to use the functions, you need to compose the commands in a format as below:

$ gmx [command]

All the available commands are listed as below:

  • add: Add a module or a version to local collection.
  • help: Help about any command.
  • list: List all the modules in local collection.
  • rm: Remove a module or a version from local collection.
  • search: Search a module from the local collection.
  • update: Update the info of a module in the local collection.
  • use: Import a module to current project.

Use gmx [command] --help for more information about a command.

Documentation

Overview

Copyright © 2021 Anonymous <usr_local@yeah.net>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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