CLIk
The clik crate provides an easy-to-use interactive CLI framework inspired by shellfish, expanded by new concepts, like subcommands and more!
Example
use ;
use DefaultEditor;
use Error;
/// This is the state we want to store and reuse for all commands
/// This is the function that gets called if the 'toggle' command is met
/// The 'state' variable is the one we previously passed to the CLI::new() function
/// The 'args' variable contains all the arguments that did not match on any other command
Optional features
async- Allow async functions and commands