rustyrepl
The easy Rust Read-Evaluate-Print-Loop (REPL) utility crate
About
rustyrepl
is a simple crate to facilitate creation of Read, Evaluate, Print, Loop utilities at the command-line.
Purpose
- Capturing exits/quits of the REPL interface
- Storing and managing REPL history commands as well as an index of said commands for you
- Allowing operators to get a help menu at any point, using the full Clap supported help interface (i.e. sub-command help as well)
- Processing the commands as incoming
Usage
First, add rustyrepl to your Cargo.toml file
[]
= "0.1"
Next:
use Result;
use ;
use ;
/// The enum of sub-commands supported by the CLI
/// The general CLI, essentially a wrapper for the sub-commands [Commands]
// MAIN //
async