#command-line #pipe #cargo #date

bin+lib stdecor

Run a command with a decorated stdout/stderr

9 releases

0.1.9 Oct 18, 2023
0.1.8 Sep 16, 2023
0.1.6 Jul 30, 2023
0.1.3 Jun 25, 2023

#2337 in Command line utilities

Download history 34/week @ 2023-07-27 2/week @ 2023-08-03 14/week @ 2023-08-10 8/week @ 2023-08-17 7/week @ 2023-08-24 9/week @ 2023-08-31 16/week @ 2023-09-07 30/week @ 2023-09-14 7/week @ 2023-09-21 2/week @ 2023-09-28 1/week @ 2023-10-05 19/week @ 2023-10-12 18/week @ 2023-10-19 13/week @ 2023-10-26 11/week @ 2023-11-09

61 downloads per month

MIT license

16KB
281 lines

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.

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.

Dependencies

~9–20MB
~254K SLoC