Skip to main content

Crate tap

Crate tap 

Source

Modules§

argsparsing
engine
macros
Convenience macros and helper functions for tap.
tooling

Macros§

args
Binds handler arguments to typed local variables.
bail
Early-returns an error from a handler.
ceprintln
Colored eprintln! — writes to stderr.
commands
Registers one or more top-level commands on an engine.
cprint
Colored print!.
cprintln
Colored println!.
ensure
Conditional [bail!]: returns an error when the condition is false.
scope
Populates Renderable::scope with key => value pairs.
subcommands
Registers one or more subcommands on an engine.
template
Adds a plain template renderer.
template_colored
Adds a colored template renderer.