#output #programs #rgb #color #cli-tool #coloring #pipe

app input-painter

A simple cli tool for coloring the output of other programs

5 releases

0.1.4 Jun 19, 2023
0.1.3 Jun 18, 2023
0.1.2 Jun 18, 2023
0.1.1 Jun 18, 2023
0.1.0 Jun 18, 2023

#1 in #coloring

30 downloads per month

MIT license

5KB
50 lines

input-painter

license Version info

a simple way to color the output of other programs

Installation

cargo install input-painter

Usage

The intended use of this program is for other programs to pipe into them.

cat README.md | input-painter rgb 1 152 157

You can also select any of termcolor's colors which are listed by

input-painter --help

TODO:

  • More thorough documentation
  • Support hex values
  • Support changing background as well as style
  • this will cause breaking changes, I will likely move everything to options rather than subcommands, as the current API is restrictive

Dependencies

~1.3–9MB
~75K SLoC