v2

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: Apache-2.0 Imports: 22 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsoleModel

type ConsoleModel struct {
	// contains filtered or unexported fields
}

ConsoleModel is the top-level Bubbletea model for the console command.

func NewConsoleModel

func NewConsoleModel(commits []*model.Commit, breakingConfig *whatChangedModel.BreakingRulesConfig, themeArg any, _ string, runFn RunChangeratorFn) ConsoleModel

NewConsoleModel creates a new ConsoleModel and runs the changerator on the first commit.

func (ConsoleModel) Init

func (m ConsoleModel) Init() tea.Cmd

Init implements tea.Model.

func (ConsoleModel) Update

func (m ConsoleModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Update implements tea.Model.

func (ConsoleModel) View

func (m ConsoleModel) View() tea.View

View implements tea.Model.

type PanelFocus

type PanelFocus int

PanelFocus tracks which panel currently has focus.

const (
	FocusCommitTable PanelFocus = iota
	FocusTree
	FocusDiff
	FocusCodeModal
	FocusReportModal
)

type RunChangeratorFn

type RunChangeratorFn func(commit *model.Commit, breakingConfig *whatChangedModel.BreakingRulesConfig) (*changerator.Changerator, *v3.Node, func(), error)

RunChangeratorFn is the function signature for running the changerator. This is injected from the cmd package to avoid import cycles.

Jump to

Keyboard shortcuts

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