Shelgon
lastmod 2025-03-19created 2025-03-191 edits
Rust framework for building interactive REPL shells
Features
- Makes it easy to build interactive REPL (Read-Eval-Print Loop) applications and custom shells with simple code
- Implements the terminal UI with ratatui, and provides type safety and async support
- Commands are wrapped in a type-safe interface, helping prevent errors
- Async runtime integration - high-performance asynchronous tasks based on tokio
- Keyboard input support: command history, cursor movement, tab completion, Ctrl+C/D handling
- State can be kept between commands with a user-defined context type
- Also handles commands that need multi-line input via STDIN