1
- # Diff to Html Node Module ( CLI) by [ rtfpessoa] ( https://github.com/rtfpessoa )
1
+ # Diff to Html CLI by [ rtfpessoa] ( https://github.com/rtfpessoa )
2
2
3
- Diff to Html generates pretty HTML diffs.
4
-
5
- ### Inspiration
6
-
7
- This project is just a CLI for [ diff2html-nodejs] ( https://github.com/rtfpessoa/diff2html-nodejs ) .
3
+ Diff to Html generates pretty HTML diffs from git diff output in your terminal
8
4
9
5
## Features
10
6
@@ -16,17 +12,23 @@ This project is just a CLI for [diff2html-nodejs](https://github.com/rtfpessoa/d
16
12
17
13
* GitHub like style
18
14
15
+ * Code syntax highlight
16
+
19
17
## Online Example
20
18
21
19
> Go to [ Diff2HTML] ( http://rtfpessoa.github.io/diff2html/ )
22
20
23
- ## Other Distributions
21
+ ## Distributions
24
22
25
23
* [ WebJar] ( http://www.webjars.org/ )
26
24
27
- * Manually download and import [ diff2html.js] ( https://github.com/rtfpessoa/diff2html ) into your page
25
+ * [ Node Module] ( https://www.npmjs.org/package/diff2html )
26
+
27
+ * [ Bower Package] ( http://bower.io/search/?q=diff2html )
28
+
29
+ * [ Node CLI] ( https://www.npmjs.org/package/diff2html-cli )
28
30
29
- * Import Node library [ diff2html-nodejs ] ( https://github.com/rtfpessoa/ diff2html-nodejs ) into your package.json
31
+ * Manually download and import ` rtfpessoa/ diff2html/dist/ diff2html.min.js ` into your page
30
32
31
33
## Setup
32
34
@@ -47,14 +49,24 @@ This project is just a CLI for [diff2html-nodejs](https://github.com/rtfpessoa/d
47
49
-s, --side Side by Side diff.
48
50
-j, --json Export diff in json format.
49
51
50
- ## Contribution
52
+ Example:
51
53
52
- All contributions are welcome.
54
+ diff2html -p -l "HEAD~1"
53
55
54
- To contribute just send a pull request with your feature,fix,... and it will be reviewed asap.
56
+ > NOTE: notice the " in the example
57
+
58
+ ## Contributions
59
+
60
+ All the contributions are welcome.
61
+
62
+ To contribute just send a pull request with your changes and I will review it asap.
55
63
56
64
## License
57
65
58
66
Copyright 2014 Rodrigo Fernandes. Released under the terms of the MIT license.
59
67
68
+ ## Thanks
69
+
70
+ This project is inspired in [ pretty-diff] ( https://github.com/scottgonzalez/pretty-diff ) by [ Scott González] ( https://github.com/scottgonzalez ) .
71
+
60
72
---
0 commit comments