We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bb081b commit 67a4268Copy full SHA for 67a4268
src/main/java/org/hydev/mcpm/ArgsParser.java
@@ -0,0 +1,22 @@
1
+package org.hydev.mcpm;
2
+
3
+import net.sourceforge.argparse4j.ArgumentParsers;
4
+import net.sourceforge.argparse4j.inf.ArgumentParser;
5
+import net.sourceforge.argparse4j.inf.ArgumentParserException;
6
7
+/**
8
+ * Static collection of argument parsers for the command line
9
+ *
10
+ * @author Azalea (https://github.com/hykilpikonna)
11
+ * @since 2022-10-30
12
+ */
13
+public class ArgsParser
14
+{
15
+ public static final ArgumentParser LOADER;
16
17
+ static
18
+ {
19
+ LOADER = ArgumentParsers.newFor("loader").build().defaultHelp(true);
20
+ LOADER.addArgument("name");
21
+ }
22
+}
0 commit comments