Skip to main content

Module cli

Module cli 

Source
Expand description

Command-line interface for thndrs.

The entrypoint parses raw flags with clap directly into the flat Cli runtime config.

Modules§

app
Application state, message types, and event dispatch (The Elm architecture/TEA).
commands
Non-interactive command definitions and command-specific helpers.
git
Reads git status --porcelain=v1 for the workspace subtree and reduces it to the branch name plus added, modified, and deleted file counts.
input
Cursor-aware single-line/multi-line text input model.
renderer
Terminal rendering for thndrs.

Structs§

Cli
Runtime configuration after defaults, TOML, env, and flags are merged.

Enums§

Command
Top-level non-interactive commands.
ReasoningEffort
Requested reasoning control for a provider model.
ReasoningSummary
Whether providers render a reasoning summary in the transcript.
Theme
Built-in UI color theme.
WebSearchMode
Web search policy for a turn.

Constants§

DEFAULT_TICK_RATE_MS
Default event and render cadence for the direct terminal UI.
MIN_TICK_RATE_MS
Smallest event and render interval supported by the direct terminal UI.