1 package eu.svjatoslav.meviz.htmlindexer;
3 import java.util.ArrayList;
5 import eu.svjatoslav.meviz.Module;
7 public class Main implements Module {
9 CommandlineHandler commandlineHandler = new CommandlineHandler();
13 public String getDescription() {
14 return "Generate HTML listing of directories.";
19 public String getModuleCommand() {
25 public void run(final String[] args) throws Exception {
27 final boolean parsingStatus = commandlineHandler
28 .parseCommandlineArguments(args);
31 showCommandlineHelp();
35 new FilesystemIndexer(commandlineHandler.getWorkingDirectory(),
36 commandlineHandler, new ArrayList<String>());
42 public void showCommandlineHelp() {
43 commandlineHandler.parser.showHelp();