Documentation
¶
Overview ¶
Package app is the application layer.
It orchestrates the repl loop, command routing, result handling and history management. custom commands and edit command buffer are also handled here.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application interface {
// Start starts the main repl loop, reading input, executing commands and printing results until the user exits.
Start(ctx context.Context) error
// Close performs saving history before exiting.
Close() error
}
Application defines the interface for the main application logic.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package ui contains terminal UI flows used by the CLI.
|
Package ui contains terminal UI flows used by the CLI. |
Click to show internal directories.
Click to hide internal directories.