Asciidoctor-java-integration Main class
Posted by asotobu on
URL: https://discuss.asciidoctor.org/Asciidoctor-java-integration-Main-class-tp266.html
Asciidoctor 0.1.3 has been released with a little secret inside, it contains a Main class so you can run Asciidoctor from command line, although this feature is developed and tested, it is not officially released because first I would like to discuss how to package this feature. We have got (from my point of view) two ways to bundle this package:
* Creating a Maven profile so when is enabled a zip file is created with jar, dependencies and a bat/sh file.
* Splitting project into two modules, the first one which is the AJI itself and the second one which is the CLI classes and configuration.
At this stage of development we can choose the first one without much problem, the project is small enough to be manageable with only one project, and postpone this split later only if it is required.
WDYT?