Skip to main content

Crate tempera

Crate tempera 

Source
Expand description

Template based terminal coloring made really easy.

Re-exports§

pub use custom::add_style;
pub use custom::delete_styles;
pub use custom::resolve_styles;

Modules§

custom
Module that allows define and use custom styles.

Enums§

Error
An error that occurred when adding a new custom style.

Statics§

CODES
A HashMap defining the list of builtin styles.

Traits§

Colorize

Functions§

clean_template
Removes all templates tags from the string.
colorize
Colorize a string using given styles.
colorize_template
Apply colors to a template tagged string.