+
+ /* start the engine. */
+ engine.start();
+ }
+
+ /**
+ * Definition of the command-line parameters.
+ *
+ * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
+ */
+ private static interface Parameters {
+
+ /**
+ * Returns the directory to watch for chains.
+ *
+ * @return The chain directory
+ */
+ @Option(defaultValue = "chains", shortName = "c", description = "The directory to watch for chains")
+ String getChainDirectory();
+
+ /**
+ * Returns the directory to store states in.
+ *
+ * @return The states directory
+ */
+ @Option(defaultValue = "states", shortName = "s", description = "The directory to store states in")
+ String getStateDirectory();
+