Crate output [] [src]

Simple tool for user-friendly output in Rust CLI programs.

The main goal is to enable programs to provide feedback about their progress to users, in a more advanced way than outputting lines. This library concerns itself with stderr and lets stdout be used for direct output.

The central concept is that a message can be logged "permanently" or "temporarily". Temporary messages will be removed or replaced, whereas permament messages will remain on screen. Permanent messages will appear above any temporary message which is currently present.

To use, add it to your Cargo.toml:

[dependencies]
output = "*"

Structs

Console
Output
PipeOutput
RawConsole

Traits

Backend

Functions

open
open_backend
open_raw
pipe

Type Definitions

BoxBackend