summaryrefslogtreecommitdiffstats
path: root/src/test/java/com/beust/jcommander/command/NamedCommandAdd.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/beust/jcommander/command/NamedCommandAdd.java')
-rw-r--r--src/test/java/com/beust/jcommander/command/NamedCommandAdd.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/java/com/beust/jcommander/command/NamedCommandAdd.java b/src/test/java/com/beust/jcommander/command/NamedCommandAdd.java
new file mode 100644
index 0000000..0773e18
--- /dev/null
+++ b/src/test/java/com/beust/jcommander/command/NamedCommandAdd.java
@@ -0,0 +1,17 @@
+package com.beust.jcommander.command;
+
+import com.beust.jcommander.Parameter;
+import com.beust.jcommander.Parameters;
+
+import java.util.List;
+
+@Parameters(commandNames = "add", commandDescription = "Add file contents to the index")
+public class NamedCommandAdd {
+
+ @Parameter(description = "Patterns of files to be added")
+ public List<String> patterns;
+
+ @Parameter(names = "-i")
+ public Boolean interactive = false;
+
+}