Documentation
¶
Overview ¶
Command lastrun tracks when tasks were last run — start/complete times, history, duration thresholds, and an interactive status TUI. State is kept in a single SQLite database.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
apperr
Package apperr defines the application's sentinel errors and error types, mirroring the variants of the original Rust AppError enum.
|
Package apperr defines the application's sentinel errors and error types, mirroring the variants of the original Rust AppError enum. |
|
cli
Package cli defines the cobra command tree, the shared ShouldRunTask logic, and the command handlers that mirror the original Rust main.rs dispatch.
|
Package cli defines the cobra command tree, the shared ShouldRunTask logic, and the command handlers that mirror the original Rust main.rs dispatch. |
|
db
Package db owns the SQLite connection, schema, and all typed CRUD helpers, mirroring the original Rust db.rs.
|
Package db owns the SQLite connection, schema, and all typed CRUD helpers, mirroring the original Rust db.rs. |
|
display
Package display renders task data as plain-text output: ANSI-colored status messages, a JSON status snapshot, and a log table.
|
Package display renders task data as plain-text output: ANSI-colored status messages, a JSON status snapshot, and a log table. |
|
format
Package format provides duration parsing/formatting and timestamp helpers that mirror the original Rust implementation's behavior exactly.
|
Package format provides duration parsing/formatting and timestamp helpers that mirror the original Rust implementation's behavior exactly. |
|
model
Package model holds the in-memory Task representation and its persistence helpers, mirroring the original Rust model.rs.
|
Package model holds the in-memory Task representation and its persistence helpers, mirroring the original Rust model.rs. |
|
settings
Package settings implements the interactive `lastrun settings` editor using Bubble Tea, replacing the original ratatui implementation.
|
Package settings implements the interactive `lastrun settings` editor using Bubble Tea, replacing the original ratatui implementation. |
|
tui
Package tui implements the interactive `lastrun status` view using Bubble Tea, replacing the original ratatui implementation.
|
Package tui implements the interactive `lastrun status` view using Bubble Tea, replacing the original ratatui implementation. |
|
tuiutil
Package tuiutil holds shared rendering primitives for the interactive views: titled panels, the bottom controls bar, the help modal, and a centered overlay compositor.
|
Package tuiutil holds shared rendering primitives for the interactive views: titled panels, the bottom controls bar, the help modal, and a centered overlay compositor. |
|
version
Package version holds the release-version helper used by build tooling.
|
Package version holds the release-version helper used by build tooling. |
Click to show internal directories.
Click to hide internal directories.