https://github.com/gtronick/juncomment
Removes comments from Java, C, C++, HTML, js, and other compatible formats with C like comments, with CDATA validation.
https://github.com/gtronick/juncomment
Last synced: 3 months ago
JSON representation
Removes comments from Java, C, C++, HTML, js, and other compatible formats with C like comments, with CDATA validation.
- Host: GitHub
- URL: https://github.com/gtronick/juncomment
- Owner: GTRONICK
- License: mit
- Created: 2018-02-07T15:03:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-19T16:15:11.000Z (about 7 years ago)
- Last Synced: 2025-01-17T09:47:24.816Z (5 months ago)
- Language: Java
- Size: 52.7 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
------------------------------------------------------------------------------------------------
JUNCOMMENT 1.1
------------------------------------------------------------------------------------------------This application deletes C comments like // and /**/, and xml comments like in the
file, or files inside the specified folder.------------------------------------------------------------------------------------------------
USAGE: java -jar juncomment.jar [OPTION] INPUT_FILE_OR_FOLDER [OUTPUT_FILE_OR_EXTENSION]
OPTIONS:
-d (duplicate) Deletes the comments in the input file and generates an output file.
-s (self) Deletes the comments in the input file and overwrites it.
-f (folder) Like -s, but for all the files inside the specified folder that match
the especified extension.-r (recursive) Like -f, but also for subfolders in a recursive fashion.
Examples:
java -jar juncomment.jar -d "C:\Documents\file_in.xhtml" "C:\Documents\file_out.xhtml"
java -jar juncomment.jar -s "C:\Documents\file_in.xhtml"
java -jar juncomment.jar -f "C:\Folder" "java"
java -jar juncomment.jar -r "C:\Folder" "xhtml"