Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erniebrodeur/hilight
Hilight will highlight CLI based applications based on regular expressions.
https://github.com/erniebrodeur/hilight
cli gem hilight hilighter ruby
Last synced: 24 days ago
JSON representation
Hilight will highlight CLI based applications based on regular expressions.
- Host: GitHub
- URL: https://github.com/erniebrodeur/hilight
- Owner: erniebrodeur
- Created: 2019-03-01T05:15:59.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-19T22:52:02.000Z (about 2 years ago)
- Last Synced: 2024-04-30T17:04:48.535Z (8 months ago)
- Topics: cli, gem, hilight, hilighter, ruby
- Language: Ruby
- Homepage:
- Size: 80.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Hilight
Hilight will highlight CLI based applications based on regular expressions.
Ever wanted colors in an app that doesn't support them?
hilight git -h
- Supports regexp for the command, as well as strings.
- No outside dependencies.
- Can add syntaxes via serializable JSON or ruby.## Installation
gem install hilight
## Usage
Basic highlighting can be done with:
hilight command
It can be used in a piped expression.
git -h | hilight
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/erniebrodeur/hilight. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
## Pull Requests
Pull requests that do not pass current rspecs or do not contain coverage of the code in the pull request are, most likely, going to be rejected.
If you want to add a theme/change an existing one, please submit all updates
in the JSON form of the quilt.## Code of Conduct
Everyone interacting in the Hilight project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/erniebrodeur/hilight/blob/master/CODE_OF_CONDUCT.md).