Crates.io | giff |
lib.rs | giff |
version | 0.1.0 |
source | src |
created_at | 2024-08-06 11:37:49.941952 |
updated_at | 2024-08-06 11:37:49.941952 |
description | Visualizes the differences between the current HEAD and a specified branch in a git repository using a formatted table output in your terminal. The differences are displayed with color-coded additions and deletions for better readability. |
homepage | https://github.com/bahdotsh/giff |
repository | https://github.com/bahdotsh/giff |
max_upload_size | |
id | 1327184 |
size | 35,214 |
This Rust program visualizes the differences between the current HEAD and a specified branch in a git repository using a formatted table output in your terminal. The differences are displayed with color-coded additions and deletions for better readability.
comfy_table
to format the output.This project uses the following Rust crates:
clap
: For command-line argument parsing.comfy_table
: For creating and formatting tables.crossterm
: For terminal manipulation.regex
: For parsing git diff output.cargo install giff
git clone https://github.com/bahdotsh/giff.git
cd giff
cargo install --path .
giff -b branch //by default, the branch will be main