Apply basic colorization to diff
Review Request #11829 — Created Oct. 3, 2021 and updated — Latest diff uploaded
Add an option to the
rbt diffcommand to
apply basic colorization to the output.
Therbt diff --color-diffcommand highlights
removed lines in red and added lines in green.This review request includes the following:
- Utilizing pygments library, format the diff displayed
on terminal with basic colorization. - Add
--color-diffoption torbt diffcommand.
- Created
test_diff.pythat contains test cases forrbt diffcommand - Tested command arguments and formating the diff using pygments library.