Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAuthorList ¶
BuildAuthorList deduplicates all (may contain duplicates), sorts alphabetically, then prepends current as the first entry (removing it from its sorted position if present). If current is empty, the sorted deduplicated list is returned as-is.
func FillOutForm ¶
func FillOutForm(cfg config.AppConfig, defaults tui.CommitOption) ([]byte, tui.CommitOption, error)
FillOutForm presents the commit TUI form. Group 1: type select + commit message fields (scope, subject, body, footer). Group 2: commit options (author, all, amend, no-verify, signoff, allow-empty).
Group 2 is skipped when defaults.AnyOptionSet() is true (flags were passed).
Returns the assembled commit message bytes and the (possibly user-modified) options.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.