shubham0204 / diff-tool.rs

A simple terminal-based diff tool written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

banner

diff Tool In Rust

diff_tool

Setup

To compile the tool, make sure that you have a Rust toolchain installation targeted for your system. Once installed,

$> git clone https://github.com/shubham0204/diff-tool.rs
$> cd diff-tool.rs
$> cargo build --release
$> cp target/release/diff .

The diff tool is now available in the root directory of the project. Use text files from samples to test,

Usage: ./diff <filepath1> <filepath2>
$> ./diff samples/sample_02/script1.kt samples/sample_02/script2.kt

Important

Most Linux distros come with a builtin diff tool installed. As both, the executable from this project and the pre-installed diff tool have the same name, use ./diff to use the project's executable.

Useful Resources

About

A simple terminal-based diff tool written in Rust

License:Apache License 2.0


Languages

Language:Rust 100.0%