View Javadoc

1   package com.lexicalscope.jewel.cli.validation;
2   
3   import java.util.List;
4   
5   import com.lexicalscope.jewel.cli.specification.ParsedOptionSpecification;
6   
7   
8   public interface OptionCollection
9   {
10      /**
11       * Get any unparsed arguments
12       *
13       * @return the unparsed arguments
14       */
15      List<String> getUnparsed();
16  
17      Argument getArgument(ParsedOptionSpecification option);
18  
19      List<String> getValues(String... options);
20  }