Core
API reference for maltty. The runtime framework for building CLI applications with typed commands, middleware pipelines, and terminal UI.
API reference for maltty. The runtime framework for building CLI applications with typed commands, middleware pipelines, and terminal UI.
| Function | Description |
|---|---|
| command() | Define a command with typed options and a handler |
| middleware() | Define middleware that wraps command execution |
| cli() | Bootstrap and run a CLI application |
| screen() | Define a screen command with a React/Ink render |
| report() | Structured reporting middleware for diagnostics |
| Reference | Description |
|---|---|
| Context | The central object threaded through handlers and middleware |