topcoat-cli 0.11.0

A modular, batteries-included Rust web framework for server-rendered apps.
Documentation
1
2
3
4
5
6
7
8
9
10
#[tokio::main]
async fn main() {
    let mut args = std::env::args_os().peekable();
    let program = args.next();
    // Cargo passes the subcommand name as the first argument.
    if args.peek().is_some_and(|arg| arg == "topcoat") {
        args.next();
    }
    topcoat_cli::run_from(program.into_iter().chain(args)).await;
}