Crate xmt

source · []
Expand description

Batteries-included CLI output library for Rust.

Macros

Forwards to the XMT::detail method of the global instance.

Forwards to the XMT::error method of the global instance.

Forwards to the XMT::out method of the global instance.

Forwards to the XMT::print method of the global instance.

Forwards to the XMT::prompt method of the global instance.

Forwards to the XMT::prompt_yn method of the global instance.

Forwards to the XMT::success method of the global instance.

Forwards to the XMT::warn method of the global instance.

Structs

Configuration for the XMT logger.

A style for a given level.

Root formatter struct.

Enums

The 8 standard colors.

Different output levels supported by the library.

The different output modes supported by the library.

Functions

Initialize the global XMT instance with the provided configuration.

Initialize the global XMT instance with the default configuration.

Execute the provided closure in a nested scope within the global XMT instance.

Prompt the user to select an item from a list.