Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bump ¶
type Bump struct { base.Command //Which string `short:"w" long:"which" description:"The field to bump." choice:"major" choice:"M" choice:"minor" choice:"m" choice:"patch" choice:"p" choice:"revision" choice:"rev" choice:"r" optional:"yes" default:"patch"` Major bool `short:"M" long:"major" description:"Bump the major field." optional:"yes"` Minor bool `short:"m" long:"minor" description:"Bump the minor field." optional:"yes"` Patch bool `short:"p" long:"patch" description:"Bump the patch (aka revision) field." optional:"yes"` Revision bool `short:"r" long:"revision" description:"Bump the revision (aka patch) field." optional:"yes"` }
type SemVer ¶
type SemanticVersion ¶
type SemanticVersion struct { // Bump bumps the version (major, minor or revsion/patch) and prints it out. Bump Bump `command:"bump" alias:"b" description:"Bump the version in a semantic version."` // Check parses the version and prints it out. Check Check `command:"check" alias:"c" description:"Check the semantic version by parsing it."` }
SemanticVersion is the set of root command groups.
Click to show internal directories.
Click to hide internal directories.