File tree Expand file tree Collapse file tree 5 files changed +44
-0
lines changed Expand file tree Collapse file tree 5 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ <<<'DOCOPT'
2+ gendiff -h
3+
4+ Generate diff
5+
6+ Usage:
7+ gendiff (-h|--help)
8+ gendiff (-v|--version)
9+ gendiff [Options]... FILE1 FILE2
10+
11+ Options:
12+ -h --help Show this screen
13+ -v --version Show version
14+ --format <fmt> Report format [default: stylish]
15+
16+ DOCOPT
Original file line number Diff line number Diff line change 1+ {
2+ "host" : " hexlet.io" ,
3+ "timeout" : 50
4+ }
Original file line number Diff line number Diff line change 1+ [
2+ " host" => "hexlet.io",
3+ " timeout" => 50
4+ ]
Original file line number Diff line number Diff line change 1+ file1.json content:
2+ {
3+ hexlet.io
4+ 50
5+ 123.234.53.22
6+
7+ }
8+ file2.json content:
9+ {
10+ 20
11+ 1
12+ hexlet.io
13+ }
Original file line number Diff line number Diff line change 1+ {
2+ hexlet.io
3+ - 50
4+ + 20
5+ - 123.234.53.22
6+ -
7+ }
You can’t perform that action at this time.
0 commit comments