package net.rslt.asciidoctor;

import java.io.File;
import java.util.HashMap;
import org.asciidoctor.Asciidoctor;
import org.asciidoctor.Attributes;
import org.asciidoctor.Options;
import org.asciidoctor.cli.AsciidoctorInvoker;

/**
 * This application is used to parse asciidoctor files with out the need to install ruby.
 *
 */
public class App {

  public static void main(String[] args) {
    
    // Use the AsciidoctorJ command line processor instead of out own. 
    // This means we can use the same options as the ruby interface that 
    // is documented in the official documentation. 
    
    AsciidoctorInvoker invoker = new AsciidoctorInvoker();
    invoker.invoke(args);
    
  }
}

@@ -28,158 +28,8 @@
 r;%0A%0A
-import java.io.File;%0Aimport java.util.HashMap;%0Aimport org.asciidoctor.Asciidoctor;%0Aimport org.asciidoctor.Attributes;%0Aimport org.asciidoctor.Options;%0A
 impo
@@ -305,17 +305,17 @@
 ad of ou
-t
+r
  own. %0A 

Clean up imports