clish 0.1.0-beta.3

Elegant CLI framework for Rust.
Documentation
use clish::{
    help::{AppStyle, AppStyles},
    prelude::*,
};

#[command(
    help = "Deploy the application to an environment",
    details = "Runs pre-flight checks, builds the release artifact, then pushes it.\nUse --force to skip checks in emergencies."
)]
fn deploy(target: Pos<String>, env: Named<String>, force: bool) {
    println!("Deploying {} to {} (force: {})", target, env, force);
}

fn main() {
    app!(deploy)
        .styles(AppStyles {
            brand: AppStyle::Markup("[bold green]"),
            header: AppStyle::Markup("[bold yellow]"),
            ..Default::default()
        })
        .run()
}