Crate oma_console

Crate oma_console 

Source
Expand description

§oma-console

oma-console is a utility crate that provides console functionalities for oma

It offers modules for printing stylized messages, managing pagers, displaying progress bars, and handling terminal writing utilities.

§Features

  • Print: Stylized message printer with support for prefixes and automatic line wrapping.
  • Pager: Terminal pager with scrolling and searching capabilities.

§Modules

  • pager: Implements a terminal pager with the crossterm and ratatui crates.
  • pb: Implements numerous styles of progress bars with the indicatif crate.
  • writer: Implements a formatted message writer to the terminal.
  • print: Implements a formatted message logger with support for different logging levels (normal, debug, error, etc.).

Re-exports§

pub use print::OmaLayer;
pub use console;
pub use indicatif;

Modules§

pager
pb
Progress Bar pb is used as an acronym for Progress Bar
print
writer