Added command line tool frontend.

This commit is contained in:
Chicken-Bomes committed 2014-02-03 11:02:42 +10:00
1 parent 7450370d99
commit ae652f51c2
9 files changed
+396 -23

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
package codechicken.lib.tool;
public class Main
{
public static void main(String[] args) {
LibDownloader.load();
try {
Class<?> c_toolMain = new StripClassLoader().loadClass("codechicken.lib.tool.ToolMain");
c_toolMain.getDeclaredMethod("main", String[].class).invoke(null, new Object[]{args});
} catch (Exception e) {
throw new RuntimeException(e);
}
}
}