watch

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Version

type Version struct {
	Name     string
	Revision string
	Built    time.Time
}

func NewVersion

func NewVersion(name, revision, built string) (*Version, error)

func (*Version) ConfigureCli

func (this *Version) ConfigureCli(cli *kingpin.Application)

type Watch

type Watch struct {
	Interval                   time.Duration
	ResetTerminalBeforeEachRun bool

	Version Version
	// contains filtered or unexported fields
}

func NewWatch

func NewWatch(version, revision, built string) (*Watch, error)

func (*Watch) ConfigureCli

func (this *Watch) ConfigureCli(cli *kingpin.Application)

func (*Watch) Execute

func (this *Watch) Execute()

func (*Watch) Run

func (this *Watch) Run()

Jump to

Keyboard shortcuts

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