updates

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(c *cli.Context) (string, bool)

Will check once per day for updates the last day checked is stored in the local config cache this function will fail silently

func WithUpdateCheck

func WithUpdateCheck(action cli.ActionFunc) cli.ActionFunc

WithUpdateCheck takes a urfave/cli actionFunc and wraps it in "middleware" checking for updates in the background if required

Types

This section is empty.

Jump to

Keyboard shortcuts

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