Skip to content

Commit 07eea7c

Browse files
committed
updated readme
1 parent f57568b commit 07eea7c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@
33
### Hexlet tests and linter status:
44
[![Actions Status](https://github.com/Alexsey-VR/php-project-48/actions/workflows/hexlet-check.yml/badge.svg)](https://github.com/Alexsey-VR/php-project-48/actions) [![check-for-linter](https://github.com/Alexsey-VR/php-project-48/actions/workflows/check-for-linter.yml/badge.svg)](https://github.com/Alexsey-VR/php-project-48/actions/workflows/check-for-linter.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Alexsey-VR_php-project-48&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=Alexsey-VR_php-project-48)
55

6+
This is a console application that used to compute differences between two .json or .yaml files.
7+
Output results may be shown to the console in several formats, such that Stylish, Plane or JSON.
8+
9+
To getting start for this application use several steps:
10+
1. install PHP 8.3 and latest version of the Composer framework;
11+
2. install required packages:
12+
$ make install
13+
3. run application:
14+
$ bin/gendiff fixtures/file1.json fixtures/file2.json
15+
16+
To print help to the console use command:
17+
$ bin/gendiff -h
18+
19+
For developers may be used function, that return string result in selected format:
20+
621
### List of functions:
722
* [gendiff(string file1, string file2)](https://github.com/Alexsey-VR/php-project-48/blob/main/docs/gendiff.gif)
823

0 commit comments

Comments
 (0)