1 package com.beust.jcommander.command; 2 3 import com.beust.jcommander.Parameter; 4 import com.beust.jcommander.Parameters; 5 6 import java.util.List; 7 8 @Parameters(commandNames = "add", commandDescription = "Add file contents to the index") 9 public class NamedCommandAdd { 10 11 @Parameter(description = "Patterns of files to be added") 12 public List<String> patterns; 13 14 @Parameter(names = "-i") 15 public Boolean interactive = false; 16 17 } 18