clish 0.1.0-beta.3

Elegant CLI framework for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use clish::prelude::*;

#[command]
fn process(files: Pos<Vec<String>>, verbose: bool) {
    println!("files: {files:?}");
    println!("verbose: {verbose}");
}

fn main() {
    app!(process).run();
}