Expand description
Batteries-included CLI output library for Rust.
Macros§
- detail
- Forwards to the XMT::detail method of the global instance.
- error
- Forwards to the XMT::error method of the global instance.
- out
- Forwards to the XMT::out method of the global instance.
- Forwards to the XMT::print method of the global instance.
- prompt
- Forwards to the XMT::prompt method of the global instance.
- prompt_
yn - Forwards to the XMT::prompt_yn method of the global instance.
- success
- Forwards to the XMT::success method of the global instance.
- warn
- Forwards to the XMT::warn method of the global instance.
Structs§
Enums§
- Color
- The 8 standard colors.
- Level
- Different output levels supported by the library.
- Output
Mode - The different output modes supported by the library.
Functions§
- init
- Initialize the global XMT instance with the provided configuration.
- init_
default - Initialize the global XMT instance with the default configuration.
- nest
- Execute the provided closure in a nested scope within the global XMT instance.
- pick
- Prompt the user to select an item from a list.