main!() { /* proc-macro */ }Expand description
Initialize and run a Clawless application
This macro generates the main function for a Clawless application. It uses two-phase
dispatch: first it parses arguments and resolves the subcommand tree to find the leaf, then
it matches on the ResolvedLeaf variant to delegate to the appropriate runner.
§Example
ⓘ
// src/main.rs
mod commands;
clawless::main!();