commit

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddStyle

func AddStyle(style config.CommitStyle) error

func GetAllStyles

func GetAllStyles() []config.CommitStyle

func GetAvailableStyles

func GetAvailableStyles() []string

func GetStylePrompt

func GetStylePrompt(style Style) string

func IsValidStyle

func IsValidStyle(style string) bool

func LoadStyles

func LoadStyles()

func RemoveStyle

func RemoveStyle(name string) error

func SyncStyles

func SyncStyles() ([]config.CommitStyle, error)

Types

type Style

type Style string

type StyleChange

type StyleChange struct {
	Name   string
	Action string // "update", "add", or "keep"
}

func PreviewSyncChanges

func PreviewSyncChanges() []StyleChange

Jump to

Keyboard shortcuts

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