Crate fncli

Source
Expand description

An attribute macro to simplify writing simple command line applications.

§Examples

#[fncli::cli]
fn main(a: i32, b: i32) {
    println!("{}", a + b);
}
$ cargo run 1 2
3

Attribute Macros§

cli
The cli attribute macro.