package
0.0.0-20191015165527-5e2b4eb40f9c
Repository: https://github.com/checkr/go-latest.git
Documentation: pkg.go.dev

# README

latest

latest is a command to check a provided version is latest or not in GitHub.

Usage

To check cloned repository is latest or not, just run with owner name and repository name which you want to check. If it is not latest version, it returns non-zero exit code.

$ latest -owner=tcnksm -repo=go-latest 2.4.1
$ echo $?
0

You can check version is new, it means version is not exist on GitHub and greater than others, and more outputs can be enabled with -debug flag,

$ latest -debug -new -owner=tcnksm repo=go-latest 2.4.1
2.2.1 is new

See more usage with -help options.

Install

To install latest command just run go get,

$ go get github.com/tcnksm/go-latest/latest

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author