https://github.com/realpython/pygments-redis
Pygments highlighter for Redis CLI
https://github.com/realpython/pygments-redis
lexer pygments python redis
Last synced: 7 months ago
JSON representation
Pygments highlighter for Redis CLI
- Host: GitHub
- URL: https://github.com/realpython/pygments-redis
- Owner: realpython
- License: mit
- Created: 2019-04-19T17:56:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-15T18:40:00.000Z (over 5 years ago)
- Last Synced: 2025-05-07T21:04:22.825Z (7 months ago)
- Topics: lexer, pygments, python, redis
- Language: Python
- Homepage: https://pypi.org/project/pygments-redis/
- Size: 12.7 KB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pygments-redis
[](https://circleci.com/gh/realpython/pygments-redis/tree/master)
[](https://github.com/realpython/pygments-redis/blob/master/LICENSE)
[](https://pypi.org/project/pygments-redis/)
----
A minimalistic Pygments lexer for the [Redis](https://redis.io/) CLI.
This lexer differentiates four components of input/output from the `redis-cli` shell:
- The prompt
- A command
- A reply type
- "Everything else"