Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute(version FullVersion) error
Types ¶
type FullVersion ¶
func (FullVersion) ToString ¶
func (v FullVersion) ToString() string
type ParserOptions ¶ added in v0.4.0
type ParserOptions struct { Dir string `long:"dir" default:"." description:"The git worktree directory"` Fallback string `long:"fallback" description:"The first version to fallback to should there be no tag"` DropPrefix bool `long:"drop-prefix" description:"Drop prefix from output"` PrereleaseSuffix string `long:"prerelease-suffix" description:"Suffix to add to prereleases"` PrereleasePrefix string `long:"prerelease-prefix" default:"dev" description:"Prefix to use as start of prerelease"` PrereleaseTimestamped bool `long:"prerelease-timestamped" description:"Use timestamp instead of commit count for prerelease"` NextRelease string `long:"next-release" description:"Bump current version to next release" choice:"major" choice:"minor" choice:"patch"` Format string `long:"format" description:"Format of output (use <version> as placeholder)"` }
Click to show internal directories.
Click to hide internal directories.