Skip to content

Commit eddbf51

Browse files
update readme [SKIP CI]
1 parent 6456bc2 commit eddbf51

File tree

1 file changed

+30
-25
lines changed

1 file changed

+30
-25
lines changed

README.md

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,39 +11,42 @@
1111
css-html-js-minify.py --help
1212

1313
usage: css-html-js-minify.py [-h] [--version] [--wrap] [--prefix PREFIX]
14-
[--timestamp] [--quiet] [--checkupdates]
15-
[--tests] [--hash] [--gzip] [--comments]
16-
[--overwrite]
14+
[--timestamp] [--quiet] [--obfuscate]
15+
[--checkupdates] [--tests] [--hash] [--gzip]
16+
[--comments] [--overwrite] [--after AFTER]
17+
[--before BEFORE] [--watch]
1718
fullpath
1819

19-
2020
CSS-HTML-JS-Minify. StandAlone Async single-file cross-platform no-
2121
dependencies Unicode-ready Python3-ready Minifier for the Web.
2222

2323
positional arguments:
2424
fullpath Full path to local file or folder.
2525

26-
optional arguments:
27-
-h, --help show this help message and exit
28-
--version show programs version number and exit
29-
--wrap Wrap Output to ~80 chars per line, CSS Only.
30-
--prefix PREFIX Prefix string to prepend on output filenames.
31-
--timestamp Add a Time Stamp on all CSS/JS output files.
32-
--quiet Quiet, Silent, force disable all Logging.
33-
--checkupdates Check for Updates from Internet while running.
34-
--tests Run all built-in Unit Tests, report and exit.
35-
--hash Add SHA1 HEX-Digest 11chars Hash to Filenames.
36-
--gzip GZIP Minified files as '*.gz'. CSS/JS Only.
37-
--comments Keep Comments, CSS/HTML Only.
38-
--overwrite Force overwrite all in-place (Not Recommended)
39-
40-
41-
CSS-HTML-JS-Minify:
42-
Takes a file or folder full path string and process all CSS/HTML/JS found.
43-
If argument is not file/folder will fail.
44-
Check Updates works on Python3.
45-
StdIn to StdOut is deprecated since may fail with unicode characters.
46-
SHA1 HEX-Digest 11 Chars Hash on Filenames is used for Server Cache.
26+
optional arguments:
27+
-h, --help show this help message and exit
28+
--version show program's version number and exit
29+
--wrap Wrap Output to ~80 chars per line, CSS Only.
30+
--prefix PREFIX Prefix string to prepend on output filenames.
31+
--timestamp Add a Time Stamp on all CSS/JS output files.
32+
--quiet Quiet, Silent, force disable all Logging.
33+
--obfuscate Obfuscate Javascript. JS Only. (Recommended).
34+
--checkupdates Check for Updates from Internet while running.
35+
--tests Run all built-in Unit Tests, report and exit.
36+
--hash Add SHA1 HEX-Digest 11chars Hash to Filenames.
37+
--gzip GZIP Minified files as '*.gz', CSS/JS Only.
38+
--comments Keep Comments, CSS/HTML Only (Not Recommended)
39+
--overwrite Force overwrite all in-place (Not Recommended)
40+
--after AFTER Command to execute after run (Experimental).
41+
--before BEFORE Command to execute before run (Experimental).
42+
--watch Re-Compress if file changes (Experimental).
43+
44+
CSS-HTML-JS-Minify: Takes a file or folder full path string and process all
45+
CSS/HTML/JS found. If argument is not file/folder will fail. Check Updates
46+
works on Python3. StdIn to StdOut is deprecated since may fail with unicode
47+
characters. SHA1 HEX-Digest 11 Chars Hash on Filenames is used for Server
48+
Cache. CSS Properties are AlphaSorted,to help spot cloned ones,Selectors not.
49+
Watch works for whole Folders, with minimum of ~60 Secs between runs.
4750
4851
```
4952
@@ -55,6 +58,8 @@ SHA1 HEX-Digest 11 Chars Hash on Filenames is used for Server Cache.
5558
- Can check for updates for itself.
5659
- Full Unicode/UTF-8 support.
5760
- Smooth CPU usage.
61+
- Can Obfuscate, GZIP and Hash files, also Watch for changes on files.
62+
- Can execute arbitrary commands after and before running.
5863
- `*.css` files are saved as `*.min.css`, `*.js` are saved as `*.min.js`, `*.htm` are saved as `*.html`
5964
6065

0 commit comments

Comments
 (0)