golored

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

README

golored

Release Top language License Issues Pull requests

Simply color your shell scripts' output by piping it into this program.

Installation

Pre-built binaries

Simply download the binary from the releases page.

Build from source
git clone https://github.com/alexcoder04/golored.git
cd golored
go build .
go install # installs the binary to your $GOPATH

Usage

argument function
-help print help
-i print color codes
-s SOURCE_FILE read from file
Examples:
golored -s file.txt f:red underline

Outputs the content of file.txt underlined and with red foreground.

ls | golored b:blue

Colors the output of ls with blue background.

List of colors:

black, blue, red, magenta, green, cyan, yellow, white

List of formatting options:

bold, dim, italic, underline

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL