app

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateLogReport

func GenerateLogReport(vm ui.BisectionViewModel, stateMgr *mods.StateManager) string

GenerateLogReport creates a plain-text summary of the entire bisection process, including the detailed execution history and final conflict sets, suitable for logging.

Types

type App

type App struct {
	*tview.Application
	// contains filtered or unexported fields
}

App orchestrates the TUI application, managing the lifecycle and core services.

func NewApp

func NewApp(logger *logging.Logger, cliArgs *CLIArgs) *App

NewApp creates and initializes the TUI application.

func (*App) ContinueSearch

func (a *App) ContinueSearch()

func (*App) Dialogs

func (a *App) Dialogs() *ui.DialogManager

func (*App) GetFocus

func (a *App) GetFocus() tview.Primitive

--- AppInterface Implementation ---

func (*App) GetLogger

func (a *App) GetLogger() *logging.Logger

func (*App) GetStateManager

func (a *App) GetStateManager() *mods.StateManager

func (*App) GetViewModel

func (a *App) GetViewModel() ui.BisectionViewModel

func (*App) IsBisectionReady

func (a *App) IsBisectionReady() bool

func (*App) Layout

func (a *App) Layout() *ui.LayoutManager

func (*App) Navigation

func (a *App) Navigation() *ui.NavigationManager

func (*App) Reconcile added in v1.0.1

func (a *App) Reconcile(callback func())

func (*App) ResetSearch

func (a *App) ResetSearch()

func (*App) Run

func (a *App) Run() error

func (*App) SetFocus

func (a *App) SetFocus(p tview.Primitive)

func (*App) StartLoadingProcess

func (a *App) StartLoadingProcess(modsPath string, quiltSupport, neoForgeSupport bool)

StartLoadingProcess is called by the SetupPage to begin loading mods.

func (*App) Step

func (a *App) Step()

Step orchestrates the next bisection test.

func (*App) Stop

func (a *App) Stop()

func (*App) Undo

func (a *App) Undo() bool

type CLIArgs

type CLIArgs struct {
	NoEmbeddedOverrides bool
	Verbose             bool
	QuiltSupport        bool
	NeoForgeSupport     bool
	LogDir              string
}

CLIArgs holds all command-line arguments passed to the application.

func ParseCLIArgs

func ParseCLIArgs() *CLIArgs

ParseCLIArgs parses the command-line flags and returns a populated CLIArgs struct.

Jump to

Keyboard shortcuts

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