renew

command module
v0.0.0-...-ab55a5e Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: MIT Imports: 4 Imported by: 0

README

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!

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package internal contains functions internal to the renew command.
Package internal contains functions internal to the renew command.

Jump to

Keyboard shortcuts

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