commit

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package commit provides the TUI for creating commits.

Package commit provides the TUI for creating commits.

Package commit provides the TUI for creating commits.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	Cancelled    bool
	Err          error
	Message      git.CommitMessage
	LuckySkipped bool   // true if lucky commit was skipped (Ctrl+C)
	LuckyFailed  error  // error if lucky commit failed
	Hash         string // final commit hash (may be lucky hash)
}

Result represents the result of the commit flow.

func Run

func Run(luckyPrefix string) Result

Run runs the interactive commit flow. The luckyPrefix parameter is the validated lucky commit prefix (empty if not enabled).

Jump to

Keyboard shortcuts

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