mod-cli 0.6.4

A fully customizable, feature-rich CLI framework for Rust. Define commands, prefixes, styled output, and more—built for flexibility and speed.
Documentation
1
2
3
4
5
6
7
8
9
use modcli::{banner_file, ModCli};

fn main() {
    // Register a banner from a file (read now; printed once on first run)
    banner_file!("modcli/examples/ascii/banner.txt");

    let mut cli = ModCli::new();
    cli.run(vec!["help".into()]);
}