Module bicycle

Source
Expand description

bicycle is handlebars with wheels. 🚴🏽‍♀️

Re-exports§

pub use handlebars;

Structs§

Bicycle
JsonMap
Map of template variable names and values.

Enums§

Action
Instruction for performing a filesystem action or template processing.
EscapeFn
Specifies how to escape template variables prior to rendering.
ProcessingError
An error encountered when processing an Action.
RenderingError
An error encountered when rendering a template.
TraversalError
An error encountered when traversing a file tree.

Statics§

DEFAULT_TEMPLATE_EXT
Some("hbs"). Pass this to traverse to get the same template identification behavior as Bicycle::process.

Traits§

HelperDef
Helper Definition

Functions§

no_transform
Pass this to traverse if you don’t want any path transformation at all.
traverse
Traverse file tree at src to generate an Action list. The Action list specifies how to generate the src file tree at dest, and can be executed by Bicycle::process_actions.

Type Aliases§

CustomEscapeFn