Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexcoder04/shclrz
Colored output in the shell made simple
https://github.com/alexcoder04/shclrz
bash cli color colorization colors command-line linux shell shell-script terminal utility
Last synced: 2 days ago
JSON representation
Colored output in the shell made simple
- Host: GitHub
- URL: https://github.com/alexcoder04/shclrz
- Owner: alexcoder04
- License: gpl-3.0
- Created: 2021-09-26T10:16:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-26T19:07:30.000Z (about 2 years ago)
- Last Synced: 2024-12-16T22:53:26.565Z (about 2 months ago)
- Topics: bash, cli, color, colorization, colors, command-line, linux, shell, shell-script, terminal, utility
- Language: Shell
- Homepage:
- Size: 66.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# shclrz - shell colorizer
**Note:**
There is a more heavy version of this project with more features written in Go.
Check it out: [alexcoder04/golored](https://github.com/alexcoder04/golored).shclrz (as in **SH**ell **C**o**L**o**R**i**Z**er) is a simple shell script with
the goal to simplify creating colored output in the shell. You don't need to
remember the ANSI escape sequences anymore, you can just pipe your text into
`shclrz` and the output will be colored.## Usage
### As standalone program
```
shclrz [OPTIONS]
```| option | alternative | function |
|------------------|-----------------------------|---------------------------|
| `-h` | `--help` | print help |
| `-v` | `--version` | print program version |
| `-i` | `--info` | print color codes |
| `-s SOURCE_FILE` | `--source-file SOURCE_FILE` | read from file |
| `-f COLOR` | `--foreground COLOR` | specify foreground color |
| `-b COLOR` | `--background COLOR` | specify background color |
| `-F FORMATTING` | `--formatting OPTION` | specify formatting option |#### Examples:
```
shclrz -f red -F underline