commands

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoPreviousTags = errors.New("no previous tags")
	ErrPreviousTags   = errors.New("previous tags exist")
)

Functions

func NewListCmd

func NewListCmd(kit *Kit) subcommands.Command

func NewMajorCmd

func NewMajorCmd(kit *Kit) subcommands.Command

func NewMinorCmd

func NewMinorCmd(kit *Kit) subcommands.Command

func NewPatchCmd

func NewPatchCmd(kit *Kit) subcommands.Command

func NewZeroCmd

func NewZeroCmd(kit *Kit) subcommands.Command

Types

type Kit

type Kit struct {
	// contains filtered or unexported fields
}

A Kit contains all the things needed for creating and publishing a new tag.

func NewKit

func NewKit(
	writer output.Writer,
	tagLister cli.TagLister,
	tagCreator cli.TagCreator,
	tagPusher cli.TagPusher,
	tagPublisher publish.Publisher) *Kit

Jump to

Keyboard shortcuts

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