Documentation
¶
Index ¶
- Variables
- func LogError(format string, args ...interface{})
- func LogInfo(format string, args ...interface{})
- func LogSuccess(format string, args ...interface{})
- func MoveToLastCommit()
- func SetupTUI()
- func ShowConfirmationDialog(message string) bool
- func UpdateCommitDetails(id string, totalFiles int, old, new string)
- func UpdateProgressBar()
- func UpdateStatus(text string)
- type TextView
Constants ¶
This section is empty.
Variables ¶
View Source
var ( App *tview.Application MainFlex *tview.Flex ProgressBar *tview.TextView LogView *tview.TextView StatusBar *tview.TextView CommitDetails *tview.TextView LastCommitDetails *tview.TextView TotalCommits int ProcessedCommits int ConfirmationResult bool ConfirmationDone bool )
TUI components
Functions ¶
func LogInfo ¶
func LogInfo(format string, args ...interface{})
LogInfo logs an informational message
func LogSuccess ¶
func LogSuccess(format string, args ...interface{})
LogSuccess logs a success message
func MoveToLastCommit ¶
func MoveToLastCommit()
MoveToLastCommit moves the current commit details to the last commit details panel
func ShowConfirmationDialog ¶
ShowConfirmationDialog displays a confirmation dialog and waits for user input
func UpdateCommitDetails ¶
UpdateCommitDetails updates the details of the current commit being processed
func UpdateProgressBar ¶
func UpdateProgressBar()
UpdateProgressBar updates the progress bar with the current status
Types ¶
Click to show internal directories.
Click to hide internal directories.