Uses of Class
org.refcodes.cli.Example
-
Uses of Example in org.refcodes.cli
Methods in org.refcodes.cli that return ExampleModifier and TypeMethodDescriptionstatic Example
static Example[]
Sugar for creating anExample
array from a varargs argument.Methods in org.refcodes.cli that return types with arguments of type ExampleModifier and TypeMethodDescriptionArgsParser.getExamples()
Retrieves theExample
instances as added usingArgsParser.addExample(String, Operand...)
.ArgsParserImpl.getExamples()
Retrieves theExample
instances as added usingArgsParser.addExample(String, Operand...)
.Methods in org.refcodes.cli with parameters of type ExampleModifier and TypeMethodDescriptionvoid
ArgsParser.addExample
(Example aExample) Adds a usage example by providing a description of the example and the command line arguments required by the example.void
ArgsParserImpl.addExample
(Example aExampleUsage) Adds a usage example by providing a description of the example and the command line arguments required by the example.static Example[]
Sugar for creating anExample
array from a varargs argument.default ArgsParser
ArgsParser.withExample
(Example aExample) Adds a usage example.default ArgsParser
ArgsParser.withExamples
(Example[] aExamples) Adds all the bunch ofExample
elements provided.Method parameters in org.refcodes.cli with type arguments of type ExampleModifier and TypeMethodDescriptiondefault ArgsParser
ArgsParser.withExamples
(Collection<Example> aExamples) Adds all the bunch ofExample
elements provided.