root

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Log is the logger for the CLI.
	Log = log15.New()

	// RepoPath is the path to the repository.
	RepoPath = "."

	// Cmd is the root command for the CLI.
	Cmd = &cobra.Command{
		Use:   "version",
		Short: "autogenerate versions with patch level",
	}
)

Functions

func Repo

func Repo(vr version.Versioner) (err error)

Repo prints the repository version.

func SetLogger

func SetLogger(lvl log15.Lvl, verbosity uint, format log15.Format)

SetLogger adjusts the logger Log with the given log level, verbosity, and format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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