version

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Printer

type Printer struct{}

Printer prints the version of the tool in version, this one will typically be overridden at buildtime with ldflags.

func (Printer) HelpText

func (v Printer) HelpText() string

HelpText for this runner.

func (Printer) Name

func (v Printer) Name() string

Name of the command for the CLI (milo version).

func (Printer) Run

func (v Printer) Run([]string) error

Run and print the version prefixed with Running milo.

Jump to

Keyboard shortcuts

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