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.
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.
Click to show internal directories.
Click to hide internal directories.