Help us shape the future of Go! Take the 2026 Go Developer Survey

ghg

package module
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2025 License: MIT Imports: 19 Imported by: 1

README

ghg

Test Status MIT License Coverage Status PkgGoDev

Description

Get the executable from github releases

Installation

% go install github.com/Songmu/ghg/cmd/ghg@latest

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 command

Jump to

Keyboard shortcuts

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