Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jedrzejboczar/easy-repl
Rust crate to create simple REPLs easily
https://github.com/jedrzejboczar/easy-repl
Last synced: about 2 months ago
JSON representation
Rust crate to create simple REPLs easily
- Host: GitHub
- URL: https://github.com/jedrzejboczar/easy-repl
- Owner: jedrzejboczar
- License: apache-2.0
- Created: 2021-05-05T09:11:00.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-26T13:35:15.000Z (over 1 year ago)
- Last Synced: 2024-11-09T22:13:55.195Z (about 2 months ago)
- Language: Rust
- Size: 97.7 KB
- Stars: 27
- Watchers: 1
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# easy-repl [![crates.io](https://img.shields.io/crates/v/easy-repl.svg)](https://crates.io/crates/easy-repl) [![docs.rs](https://docs.rs/easy-repl/badge.svg)](https://docs.rs/easy-repl)
An easy to use REPL, ideal when there is a need to crate an ad-hoc shell.
This is a Rust library that provides a fast and convenient way to generate a
[REPL](https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop)
for your application. It comes with easy to use `command!` macro that
will automatically validate and parse command arguments, doing all the type
checking for you. The REPL comes with handy help messages, input validation,
hints and TAB-completion. Many REPL features can be configured.See the crate documentation and the `examples/` directory for more information.