1.1 KiB
1.1 KiB
Architecture
Overview
git-tui is a single executable Python script that provides a terminal UI for common Git commands.
Module Responsibilities
git-tui:- Initializes and runs the curses application loop.
- Renders a menu-driven UI with keyboard navigation.
- Executes Git subprocess commands and displays command output.
- Implements file selection for staged and unstaged operations.
Public API and Contracts
- Command entry point:
git-tuiexecutable script. - Runtime contract:
- Must be executed in a terminal that supports curses.
- Must be run from a directory inside a Git working tree.
- Requires
gitto be installed and available inPATH.
Data Model
ChangedFile:index_status: index status marker fromgit status --short.worktree_status: worktree status marker fromgit status --short.path: repository-relative file path.
Build and Deployment Rules
- No build step is required.
- Deployment is a direct executable file install (copy or symlink).
Cross References
- Usage and install details:
doc/usage.md - Change tracking:
CHANGELOG.md