internal

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Reset  = "\033[0m"
	Green  = "\033[32m"
	Orange = "\033[33m"
	Red    = "\033[31m"
	Gray   = "\033[90m"
	Bold   = "\033[1m"
)
View Source
const (
	TopLeft     = "╭"
	TopRight    = "╮"
	BottomLeft  = "╰"
	BottomRight = "╯"
	Horizontal  = "─"
	Vertical    = "│"
)

Variables

This section is empty.

Functions

func GenerateCompletions added in v0.6.3

func GenerateCompletions(shell string) error

func GenerateNextSemanticVersion added in v0.5.0

func GenerateNextSemanticVersion(currentTag, versionType string) (string, error)

func IsGitRepository

func IsGitRepository() (bool, error)

func ParseSemanticVersion added in v0.5.0

func ParseSemanticVersion(tag string) (major, minor, patch int, prefix string, err error)

func PrintHelp

func PrintHelp()

func PrintVersion

func PrintVersion(checkForUpdate bool, version string, commit string, date string, builtBy string)

func UpdateRepo

func UpdateRepo() error

Types

type VersionComparison added in v0.3.2

type VersionComparison struct {
	Current     string
	Latest      string
	Difference  string // "same", "patch", "minor", "major", "dev", "invalid"
	Color       string
	Message     string
	ShowUpgrade bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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