stdecor

Crates.iostdecor
lib.rsstdecor
version0.1.12
sourcesrc
created_at2023-06-24 19:51:05.158931
updated_at2024-09-25 21:15:22.010406
descriptionRun a command with a decorated stdout/stderr
homepagehttps://github.com/lpenz/stdecor
repositoryhttps://github.com/lpenz/stdecor
max_upload_size
id899111
size431,985
Leandro Lisboa Penz (lpenz)

documentation

README

CI coveralls dependency status crates.io packagecloud

stdecor

stdecor is a program that decorates streams of text with a custom prefix, time, etc. It's able to call a subprocess to execute or run as part of a pipe. When calling a program, it can decorate stdout and stderr differently.

stdecor is specially useful when running multiple jobs in the same shell. It can be used to build scripts like the following:

demo-ping

Installation

If you're a Rust programmer, stdecor can be installed with cargo:

$ cargo install stdecor

If you're a Debian user, stdecor is available in packagecloud. Follow these instruction to use the package repository.

This repository also provides a flake.nix file for nix users.

Commit count: 56

cargo fmt