commands

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: BSD-3-Clause Imports: 10 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,
) *Kit

Jump to

Keyboard shortcuts

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