app

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: GPL-3.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModel

func NewModel(ctx context.Context, cfg Config) (tea.Model, error)

NewModel builds the root model with deterministic inputs for callers.

func Run

func Run() error

Run starts the CLI application with config-file-derived configuration.

func VersionInfo

func VersionInfo() string

VersionInfo returns a formatted version string for CLI output.

Types

type Config

type Config struct {
	SourceDirs           map[conv.Provider]string
	ArchiveDir           string
	LogFile              string
	GlamourStyle         string
	TimestampFormat      string
	BrowserCacheSize     int
	DeepSearchDebounceMs int
	ConfigFilePath       string
	ConfigStatus         config.Status
	ConfigErr            error
}

Config defines the minimal app inputs needed to build the UI model.

Jump to

Keyboard shortcuts

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