aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/eu/mulk/aendggner/AendGgner.java14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/main/java/eu/mulk/aendggner/AendGgner.java b/src/main/java/eu/mulk/aendggner/AendGgner.java
index fa79ac4..618f36f 100644
--- a/src/main/java/eu/mulk/aendggner/AendGgner.java
+++ b/src/main/java/eu/mulk/aendggner/AendGgner.java
@@ -1,12 +1,24 @@
package eu.mulk.aendggner;
+import java.io.File;
import java.util.concurrent.Callable;
import picocli.CommandLine;
import picocli.CommandLine.Command;
+import picocli.CommandLine.Parameters;
-@Command
+@Command(
+ name = "ÄndGgner",
+ mixinStandardHelpOptions = true,
+ version = "ÄndGgner 0.1",
+ description = "Displays German amendment acts in a user-friendly, consolidated way.")
public class AendGgner implements Callable<Integer> {
+ @Parameters(index = "0", description = "The base text to modify.")
+ private File baseFile;
+
+ @Parameters(index = "1", description = "The diff relative to the base text.")
+ private File diffFile;
+
public static void main(String... args) {
int exitCode = new CommandLine(new AendGgner()).execute(args);
System.exit(exitCode);