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§

Modules§

Macros§

  • oma display due_to message
  • oma display normal message
  • oma display success message

Statics§

Functions§