//! Procedural macros for the `workflow-terminal` CLI framework, providing
//! declarative generation of command [`Handler`] implementations and bulk
//! handler registration.
use TokenStream;
/// Implements the `workflow_terminal::cli::Handler` trait for a given type from
/// `declare_handler!(<type>, [<verb>,] <help>)`, deriving the command verb from
/// the type name (kebab-cased) when one is not supplied.
/// Derives a `workflow_terminal::cli::Handler` implementation for the annotated
/// type, taking the command verb and `help` text from `#[verb(..)]` and
/// `#[help(..)]` attributes and defaulting the verb to the kebab-cased type name.
/// Registers a list of command handlers with a target from
/// `register_handlers!(<context>, <target>, [<module names>])`, instantiating
/// each handler and attaching it to the target's command tree.