Crates.io | colourizer |
lib.rs | colourizer |
version | 0.1.4 |
source | src |
created_at | 2021-05-19 21:25:15.294588 |
updated_at | 2021-05-28 03:42:20.119369 |
description | Easily colourize command output |
homepage | |
repository | https://codeberg.org/BubbyRoosh/colour |
max_upload_size | |
id | 399739 |
size | 150,845 |
Easily colourize command output
Colourizer can either display text directly or get output from previous commands as a standalone program, or be used as a library for other crates.
colourizer -b this will be bold!
colourizer -c red this will be red
colourizer --rgb "0;200;255" this will be bright blue
echo this will be bold | colourizer -b
echo this will be red | cowsay | colourizer -c red
ping gnu.org | colourizer --rgb "0;200;255"
println!("{}", "this will be red and bold!".fgred().bold());
println!("{}", "this will be a bright blue".rgb("0;200;255"));