ghg

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2019 License: MIT Imports: 19 Imported by: 1

README

ghg

Build Status MIT License GoDoc

Description

Get the executable from github releases

Installation

% go get github.com/Songmu/ghg/cmd/ghg

Built binaries are available on gihub releases. https://github.com/Songmu/ghg/releases

Synopsis

% ghg get tcnksm/ghr
% $(ghg bin)/ghr             # you can run the executable
% ghg get -u Songmu/retry    # upgrade and overwrite
% ghg get motemen/ghq@v0.7.1 # specify the release version

Commands

Available commands:
  bin      display bin dir
  get      get stuffs
  version  display version

Author

Songmu

Documentation

Index

Constants

View Source
const EnvHome = "GHG_HOME"

EnvHome is key of enviroment variable represents ghg home

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	OutStream, ErrStream io.Writer
}

CLI is struct for command line tool

func (*CLI) Run

func (cli *CLI) Run(argv []string) int

Run the ghg

Directories

Path Synopsis
cmd
ghg

Jump to

Keyboard shortcuts

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