11 releases

new 0.1.11 May 14, 2024
0.1.10 Jan 1, 2024
0.1.9 Oct 18, 2023
0.1.8 Sep 16, 2023
0.1.3 Jun 25, 2023

#2035 in Command line utilities

Download history 1/week @ 2024-02-20 5/week @ 2024-02-27 1/week @ 2024-03-12 2/week @ 2024-03-19 69/week @ 2024-03-26 7/week @ 2024-04-02

849 downloads per month

MIT license

360KB
395 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. 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.

Dependencies

~13–24MB
~343K SLoC