Skip to content

clfs/renew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

renew

Update go install-ed binaries.

renew only depends on the Go standard library.

Installation

Install renew:

go install github.com/clfs/renew@latest

Uninstall renew:

rm $(which renew)

Usage

Run renew for help:

$ renew
Usage of renew:
  -list
        list go install-ed binaries
  -skip
        skip binaries that fail to update
  -update string
        update a single binary to latest
  -update-all
        update all binaries to latest

Print a tab-delimited list of go install-ed binaries:

$ renew -list
renew	github.com/clfs/renew
staticcheck	honnef.co/go/tools/cmd/staticcheck
tfsec	github.com/aquasecurity/tfsec/cmd/tfsec

Update a go-installed binary to @latest:

$ renew -update staticcheck
==== staticcheck
[+] updated!

Update all go-installed binaries to @latest. Optionally, add -skip to continue updating other binaries even if some updates fail.

$ renew -update-all
==== renew
[+] updated!
==== staticcheck
[+] updated!
==== tfsec
[+] updated!

About

Update go install-ed binaries.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages