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;
/// This is the state we want to store and reuse for all commands
/// This is the function that gets called if the 'echo' command is met
/// The 'state' variable is the one we previously passed to the CLI::new() function
/// All the additional args can be parsed by using the `clik_command` macro,
/// but they need to implement `FromStr`.
/// We can use multiple `clik_arg` attributes after the `clik_command` macro
/// to describe our arguments.
Optional features
async- Allow async functions and commands