Quickly, find the differences between two TreeScript files!
A Command Line app for comparing TreeScript files, similar to git diff
.
- Both files must be correctly formatted TreeScript
- Diff output options are provided
This package expects two input files, both must be valid TreeScript.
treescript-diff [options] <file1> <file2>
The first file is considered the original, the second file is updated TreeScript.
The program
The program will return the additions and removals in this structure:
- newly added files separated by newline character
- blank line
- removed files separated by newline character
To print only added files.
Use the option: --added
or -a
treescript-diff -a <file1> <file2>
To print only removed files.
Use the option: --removed
or -r
treescript-diff -r <file1> <file2>