Skip to content

3.2.0 - Command line

Compare
Choose a tag to compare
@Col-E Col-E released this 31 Mar 16:16
· 27 commits to master since this release

What's new

Parsing functionality can now be accessed purely through command line:

java -jar java2html-{version}.jar + [usage...]


Usage: [-v] [-c=<config-file>] [-l=<language>] [-o=<out-file>] [-t=<theme>] <input-file>
      <input-file>   The file to convert to styled HTML
  -c, --config       Config to with languages and themes
  -l, --language     Language in config to use for parsing
  -o, --out=         The file to output converted HTML to
  -t, --theme=       Theme in config to use for styling
  -v, --clipboard    Copy output to clipboard

Providing no-arguments will launch the GUI normally.