semver

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: ISC Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

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

Command is the cli.Command implementation for semver command.

func NewCommand

func NewCommand(ui cli.Ui) (*Command, error)

NewCommand creates a semver command.

func (*Command) Help

func (c *Command) Help() string

Help returns a long help text including usage, description, and list of flags for the command.

func (*Command) Run

func (c *Command) Run(args []string) int

Run runs the actual command with the given command-line arguments.

func (*Command) SemVer

func (c *Command) SemVer() semver.SemVer

SemVer returns the semantic version after the command is run.

func (*Command) Synopsis

func (c *Command) Synopsis() string

Synopsis returns a short one-line synopsis of the command.

Jump to

Keyboard shortcuts

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