https://github.com/zostay/app-colorist
Add color to your plain old outputs
https://github.com/zostay/app-colorist
Last synced: 7 months ago
JSON representation
Add color to your plain old outputs
- Host: GitHub
- URL: https://github.com/zostay/app-colorist
- Owner: zostay
- Created: 2014-06-21T22:07:19.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2015-02-15T22:14:17.000Z (over 11 years ago)
- Last Synced: 2024-12-29T10:29:00.107Z (over 1 year ago)
- Language: Perl
- Size: 242 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.mkd
- Changelog: Changes
Awesome Lists containing this project
README
# Colorist
This is a small Perl application for adding color to plain old output. This may
be configuration files or just program output. The highlighting is line-based,
so if that doesn't work well with your output... umm... too bad? I mean, patches are
welcome!
## Quickstart Guide
Here's the quick way to get started.
# install colorist
cpanm App::Colorist
# clone the shared configuration from github
git clone git://github.com/zostay/dot-colorist.git ~/.colorist
# update your bashrc to setup the aliases you need
echo 'source $HOME/.colorist/bashrc' > ~/.bashrc
After you are done you can logout and log back in or run:
source ~/.colorist/bashrc
After that, you can update your configuration to the latest just by pulling the
latest configuration from github:
# make sure colorist is up-to-date first
cpanm App::Colorist
# update your configuration
cd ~/.colorist
git pull
For more information on how to write configurations, you can use the
documentation that comes with the command to learn more:
# for command-line options and environment variables
perldoc colorist
# for information on configuration
perldoc App::Colorist
# for information on tools available to rulesets
perldoc App::Colorist::Ruleset
# for information on extending or embedding colorist in other Perl applications
perldoc App::Colorist::Colorizer
Please report issues here or on CPAN RT if you have any problems with the
application.
Pull requests are welcome!