2024-03-18 19:32:37 +00:00
|
|
|
# sys-compare
|
2024-03-26 16:52:11 +00:00
|
|
|
#### work in progress
|
2024-03-18 23:01:37 +00:00
|
|
|
|
|
|
|
### Create Snapshot
|
2024-03-25 18:52:39 +00:00
|
|
|
## ./sys-compare create [snapshot] [root_dir]
|
2024-03-18 23:01:37 +00:00
|
|
|
```shell
|
2024-03-25 18:52:39 +00:00
|
|
|
cargo run -- create ./test1.snap /home/foxx/Documents/
|
|
|
|
cargo run -- create ./test2.snap /home/foxx/Documents/
|
2024-03-18 23:01:37 +00:00
|
|
|
```
|
|
|
|
|
2024-03-25 18:52:39 +00:00
|
|
|
### Compare Snapshots
|
|
|
|
## ./sys-compare compare [.snap] [.snap] [created]|[deleted]|[changed]
|
2024-03-18 23:01:37 +00:00
|
|
|
```shell
|
2024-03-25 18:52:39 +00:00
|
|
|
cargo run -- compare ./test1.snap ./test2.snap created
|
2024-03-18 23:01:37 +00:00
|
|
|
```
|
2024-03-26 16:52:11 +00:00
|
|
|
|
|
|
|
## Development and Collaboration
|
|
|
|
#### Feel free to open a pull request, please run the following prior to your submission please!
|
|
|
|
echo "Run clippy"; cargo clippy -- -D clippy::all
|
|
|
|
echo "Format source code"; cargo fmt -- --check
|