All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.duelengine.duel.compiler.CLI Maven / Gradle / Ivy

There is a newer version: 0.9.7
Show newest version
package org.duelengine.duel.compiler;

public class CLI {

	private static final String SEPARATOR = "========================================";
	private static final String HELP = "java -jar duel-compiler.jar\n"+
			"  --help                       : this help text\n"+
			"  -in  : file path to the source file or folder (required)\n"+
			"  -client-out      : file path to the target output directory (default: )\n"+
			"  -server-out      : file path to the target output directory (default: )\n"+
			"  -client-prefix      : client-side package name\n"+
			"  -server-prefix      : server-side package name\n";

	public static void main(String[] args) {
		if (args.length < 1) {
			System.out.println(HELP);
			return;
		}

		DuelCompiler compiler = new DuelCompiler();
		System.out.println(SEPARATOR);
		System.out.println("DUEL compiler");
		for (int i=0; i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy